diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-04-21 08:08:04 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-04-21 08:08:04 +0000 |
commit | f222a95b8e70e6f68207d1d55d41ada521227164 (patch) | |
tree | 151f29559feb566dd34809f7e88e645d49e5415c /net-p2p | |
parent | 29f2cacafd2334202b8e9d559bd8e8b742e00c94 (diff) | |
download | ports-f222a95b8e70e6f68207d1d55d41ada521227164.tar.gz ports-f222a95b8e70e6f68207d1d55d41ada521227164.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/rtorrent/files/patch-src_display_utils.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/patch-src_display_utils.cc b/net-p2p/rtorrent/files/patch-src_display_utils.cc new file mode 100644 index 000000000000..473875ee1ef0 --- /dev/null +++ b/net-p2p/rtorrent/files/patch-src_display_utils.cc @@ -0,0 +1,11 @@ +--- src/display/utils.cc.orig ++++ src/display/utils.cc +@@ -58,7 +58,7 @@ + + std::string + print_hhmmss(utils::Timer t) { +- std::tm *u = std::localtime(&(time_t)t.tval().tv_sec); ++ std::tm *u = std::localtime((const time_t *)&t.tval().tv_sec); + + if (u == NULL) + return "inv_time"; |