Windows: fixed a number of int size warnings mostly by casting them away
--HG-- branch : WINDOWSPORT
This commit is contained in:
@@ -199,7 +199,7 @@ namespace Binc {
|
||||
s.seekg(0, ios::end);
|
||||
std::streampos lst = s.tellg();
|
||||
s.seekg(st);
|
||||
size_t nbytes = lst - st;
|
||||
size_t nbytes = size_t(lst - st);
|
||||
if (nbytes > nb) {
|
||||
nbytes = nb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user