Windows: fixed a number of int size warnings mostly by casting them away

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes
2015-08-30 17:30:31 +02:00
parent 2858dc2a5e
commit 14c8e740d6
13 changed files with 21 additions and 42 deletions
+1 -1
View File
@@ -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;
}