diff options
Diffstat (limited to 'Source/cmHexFileConverter.cxx')
-rw-r--r-- | Source/cmHexFileConverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmHexFileConverter.cxx b/Source/cmHexFileConverter.cxx index 176ec3b..bf27383 100644 --- a/Source/cmHexFileConverter.cxx +++ b/Source/cmHexFileConverter.cxx @@ -38,7 +38,7 @@ static unsigned int ChompStrlen(const char* line) { return 0; } - size_t length = strlen(line); + unsigned int length = static_cast<unsigned int>(strlen(line)); if ((line[length-1] == '\n') || (line[length-1] == '\r')) { length--; |