[cmake-commits] martink committed cmFileCommand.cxx 1.73 1.74

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Mar 2 10:49:02 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31760

Modified Files:
	cmFileCommand.cxx 
Log Message:
COMP: fix warnings


Index: cmFileCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFileCommand.cxx,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- cmFileCommand.cxx	1 Mar 2007 21:23:06 -0000	1.73
+++ cmFileCommand.cxx	2 Mar 2007 15:48:58 -0000	1.74
@@ -231,7 +231,7 @@
     {
     if (sizeLimit > 0)
       {
-      sizeLimit -= line.size();
+      sizeLimit = sizeLimit - static_cast<long>(line.size());
       if (has_newline)
         {
         sizeLimit--;



More information about the Cmake-commits mailing list