fix build issue

This commit is contained in:
Arvid Norberg 2011-09-13 07:02:14 +00:00
parent c952f30820
commit fb89e58901
1 changed files with 2 additions and 2 deletions

View File

@ -1221,7 +1221,7 @@ namespace libtorrent
ec.assign(errno, get_posix_category());
return -1;
}
ret += (std::min)(tmp_ret, size_type(size));
ret += (std::min)(tmp_ret, size);
}
#endif // TORRENT_LINUX
@ -1470,7 +1470,7 @@ namespace libtorrent
ec.assign(errno, get_posix_category());
return -1;
}
ret += (std::min)(tmp_ret, size_type(size));
ret += (std::min)(tmp_ret, size);
}
#endif // TORRENT_LINUX