From c190756e247d484bfc3ed8c3e1d626832dfc8954 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 17 Sep 2007 11:17:38 -0400 Subject: ENH: fix warning --- Source/cmSystemTools.cxx | 4 ++-- 1 file 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; -- cgit v0.12