[cmake-commits] hoffman committed cmSystemTools.cxx 1.345 1.346
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 17 11:17:40 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv16095
Modified Files:
cmSystemTools.cxx
Log Message:
ENH: fix warning
Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -d -r1.345 -r1.346
--- cmSystemTools.cxx 11 Sep 2007 16:23:59 -0000 1.345
+++ cmSystemTools.cxx 17 Sep 2007 15:17:38 -0000 1.346
@@ -340,9 +340,9 @@
bool cmSystemTools::IsNOTFOUND(const char* val)
{
- int len = strlen(val);
+ size_t len = strlen(val);
const char* notfound = "-NOTFOUND";
- const int lenNotFound = 9;
+ const size_t lenNotFound = 9;
if(len < lenNotFound-1)
{
return false;
More information about the Cmake-commits
mailing list