diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-29 12:42:39 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-29 12:42:39 (GMT) |
commit | cfee916b7c90bafa372ff86f2b21d5800fc8bc99 (patch) | |
tree | 6cb2a7f0842277dd0ba8d875c6d24077998f6ca8 | |
parent | 25c6073080e323e3adb06bb0471721f64da006b7 (diff) | |
download | CMake-cfee916b7c90bafa372ff86f2b21d5800fc8bc99.zip CMake-cfee916b7c90bafa372ff86f2b21d5800fc8bc99.tar.gz CMake-cfee916b7c90bafa372ff86f2b21d5800fc8bc99.tar.bz2 |
COMP: less warnings with msvc8
Alex
-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--; |