diff options
author | Brad King <brad.king@kitware.com> | 2008-03-02 21:31:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-02 21:31:06 (GMT) |
commit | 78d27ce7a6ebca7252111c4a6b5ac574b253ac58 (patch) | |
tree | 812f887e0e4be103d94f810f5cd3bfe411eea09e | |
parent | f42c3de1d73025613e47584f2749ebe1ca7ed396 (diff) | |
download | CMake-78d27ce7a6ebca7252111c4a6b5ac574b253ac58.zip CMake-78d27ce7a6ebca7252111c4a6b5ac574b253ac58.tar.gz CMake-78d27ce7a6ebca7252111c4a6b5ac574b253ac58.tar.bz2 |
BUG: Fix bug introduced by workaround to warning.
-rw-r--r-- | Source/cmELF.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 7bf83c7..d7d9ef5 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -360,6 +360,7 @@ private: (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) || |