[cmake-commits] king committed cmELF.cxx 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Mar 2 16:31:08 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6085

Modified Files:
	cmELF.cxx 
Log Message:
BUG: Fix bug introduced by workaround to warning.


Index: cmELF.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmELF.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmELF.cxx	2 Mar 2008 21:19:40 -0000	1.6
+++ cmELF.cxx	2 Mar 2008 21:31:06 -0000	1.7
@@ -360,6 +360,7 @@
          (eti >= ET_LOPROC && eti <= ET_HIPROC)))
       {
       cmELFByteSwap(et);
+      eti = static_cast<unsigned int>(et);
       if(eti == ET_NONE || eti == ET_REL || eti == ET_EXEC ||
          eti == ET_DYN || eti == ET_CORE ||
          (eti >= ET_LOOS && eti <= ET_HIOS) ||



More information about the Cmake-commits mailing list