From 78d27ce7a6ebca7252111c4a6b5ac574b253ac58 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 2 Mar 2008 16:31:06 -0500 Subject: [PATCH] BUG: Fix bug introduced by workaround to warning. --- Source/cmELF.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 7bf83c74c..d7d9ef5aa 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(et); if(eti == ET_NONE || eti == ET_REL || eti == ET_EXEC || eti == ET_DYN || eti == ET_CORE || (eti >= ET_LOOS && eti <= ET_HIOS) ||