summaryrefslogtreecommitdiffstats
path: root/Source/cmHexFileConverter.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-28 12:31:26 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-28 12:31:26 (GMT)
commit00c9964a8c96e493a6d1d320a7b85f2b705e501c (patch)
tree0a30de0736226c130ddc948ef5e688dffc1b010c /Source/cmHexFileConverter.cxx
parent9b5ed0cfa92d1b93bb47fcb2da3a4e26dce56d98 (diff)
downloadCMake-00c9964a8c96e493a6d1d320a7b85f2b705e501c.zip
CMake-00c9964a8c96e493a6d1d320a7b85f2b705e501c.tar.gz
CMake-00c9964a8c96e493a6d1d320a7b85f2b705e501c.tar.bz2
COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data
Alex
Diffstat (limited to 'Source/cmHexFileConverter.cxx')
-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--;