[cmake-commits] martink committed SystemTools.cxx 1.196 1.197
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Mar 2 10:48:37 EST 2007
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv31685
Modified Files:
SystemTools.cxx
Log Message:
COMP: fix warnings
Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- SystemTools.cxx 1 Mar 2007 19:52:26 -0000 1.196
+++ SystemTools.cxx 2 Mar 2007 15:48:35 -0000 1.197
@@ -3589,13 +3589,13 @@
}
else
{
- leftToRead -= length;
+ leftToRead -= static_cast<long>(length);
}
}
// Append the data read to the line.
line.append(buffer);
- sizeLimit -= length;
+ sizeLimit = sizeLimit - static_cast<long>(length);
}
// Return the results.
More information about the Cmake-commits
mailing list