forked from premiere/premiere-libtorrent
fix build issue
This commit is contained in:
parent
c952f30820
commit
fb89e58901
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue