[cmake-commits] alex committed cmHexFileConverter.cxx 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri May 25 16:23:59 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18427
Modified Files:
cmHexFileConverter.cxx
Log Message:
COMP: less warnings (signed vs. unsigned)
Alex
Index: cmHexFileConverter.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmHexFileConverter.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmHexFileConverter.cxx 25 May 2007 19:22:22 -0000 1.1
+++ cmHexFileConverter.cxx 25 May 2007 20:23:57 -0000 1.2
@@ -57,7 +57,7 @@
char hexNumber[3];
hexNumber[2] = '\0';
char outBuf[256];
- int outBufCount = 0;
+ unsigned int outBufCount = 0;
for (unsigned int i = startIndex; i < stopIndex; i += 2)
{
hexNumber[0] = buf[i];
@@ -198,7 +198,7 @@
return Binary;
}
- int slen = ChompStrlen(buf);
+ unsigned int slen = ChompStrlen(buf);
if ((slen < minLineLength) || (slen > maxLineLength))
{
return Binary;
More information about the Cmake-commits
mailing list