[cmake-commits] alex committed cmHexFileConverter.cxx 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 29 08:42:41 EDT 2007


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

Modified Files:
	cmHexFileConverter.cxx 
Log Message:

COMP: less warnings with msvc8

Alex


Index: cmHexFileConverter.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmHexFileConverter.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmHexFileConverter.cxx	28 May 2007 12:31:26 -0000	1.3
+++ cmHexFileConverter.cxx	29 May 2007 12:42:39 -0000	1.4
@@ -38,7 +38,7 @@
     {
     return 0;
     }
-  size_t length = strlen(line);
+  unsigned int  length = static_cast<unsigned int>(strlen(line));
   if ((line[length-1] == '\n') || (line[length-1] == '\r'))
     {
     length--;



More information about the Cmake-commits mailing list