summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-09-17 15:17:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-09-17 15:17:38 (GMT)
commitc190756e247d484bfc3ed8c3e1d626832dfc8954 (patch)
tree1bba11e5445a9ae0a70a9b909384095cb9c1572b /Source
parented6d98c37c34e8e5e0b8b88556b213e652235896 (diff)
downloadCMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.zip
CMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.tar.gz
CMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.tar.bz2
ENH: fix warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index ba063e7..badde8b 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -340,9 +340,9 @@ bool cmSystemTools::IsOn(const char* val)
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;