[Cmake-commits] [cmake-commits] david.cole committed cmCPackTGZGenerator.cxx 1.20 1.21
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 1 16:47:10 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CPack
In directory public:/mounts/ram/cvs-serv16696/Source/CPack
Modified Files:
cmCPackTGZGenerator.cxx
Log Message:
Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files.
Index: cmCPackTGZGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackTGZGenerator.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -C 2 -d -r1.20 -r1.21
*** cmCPackTGZGenerator.cxx 28 Sep 2009 15:42:50 -0000 1.20
--- cmCPackTGZGenerator.cxx 1 Oct 2009 20:47:08 -0000 1.21
***************
*** 177,186 ****
uLong x = mydata->CRC;
for (n = 0; n < 4; n++) {
! buffer[n] = (int)(x & 0xff);
x >>= 8;
}
x = mydata->ZLibStream.total_in;
for (n = 0; n < 4; n++) {
! buffer[n+4] = (int)(x & 0xff);
x >>= 8;
}
--- 177,186 ----
uLong x = mydata->CRC;
for (n = 0; n < 4; n++) {
! buffer[n] = static_cast<char>(x & 0xff);
x >>= 8;
}
x = mydata->ZLibStream.total_in;
for (n = 0; n < 4; n++) {
! buffer[n+4] = static_cast<char>(x & 0xff);
x >>= 8;
}
More information about the Cmake-commits
mailing list