ENH: fix warning

This commit is contained in:
Bill Hoffman 2007-09-17 11:17:38 -04:00
parent ed6d98c37c
commit c190756e24
1 changed files with 2 additions and 2 deletions

View File

@ -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;