diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-17 15:17:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-17 15:17:38 (GMT) |
commit | c190756e247d484bfc3ed8c3e1d626832dfc8954 (patch) | |
tree | 1bba11e5445a9ae0a70a9b909384095cb9c1572b /Source | |
parent | ed6d98c37c34e8e5e0b8b88556b213e652235896 (diff) | |
download | CMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.zip CMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.tar.gz CMake-c190756e247d484bfc3ed8c3e1d626832dfc8954.tar.bz2 |
ENH: fix warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
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; |