[cmake-commits] martink committed SystemTools.cxx 1.195 1.196
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 1 14:52:28 EST 2007
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv28110/Source/kwsys
Modified Files:
SystemTools.cxx
Log Message:
COMP: fix warning
Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- SystemTools.cxx 1 Mar 2007 19:30:41 -0000 1.195
+++ SystemTools.cxx 1 Mar 2007 19:52:26 -0000 1.196
@@ -3582,7 +3582,7 @@
// if we read too much then truncate the buffer
if (leftToRead > 0)
{
- if (length > leftToRead)
+ if (static_cast<long>(length) > leftToRead)
{
buffer[leftToRead-1] = 0;
leftToRead = 0;
More information about the Cmake-commits
mailing list