summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmHexFileConverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmHexFileConverter.cxx b/Source/cmHexFileConverter.cxx
index 254d0cc..176ec3b 100644
--- a/Source/cmHexFileConverter.cxx
+++ b/Source/cmHexFileConverter.cxx
@@ -38,7 +38,7 @@ static unsigned int ChompStrlen(const char* line)
{
return 0;
}
- unsigned int length = strlen(line);
+ size_t length = strlen(line);
if ((line[length-1] == '\n') || (line[length-1] == '\r'))
{
length--;