Fixed some *BSD compatibility bugs.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@371 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-03-26 17:44:22 +00:00
parent 2f49249378
commit fe11d1936d
4 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ print_download_status(core::Download* d) {
std::string
print_hhmmss(utils::Timer t) {
std::tm *u = std::localtime(&t.tval().tv_sec);
std::tm *u = std::localtime(&(time_t)t.tval().tv_sec);
if (u == NULL)
return "inv_time";