Add support for GCC 2.96


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3777 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
index 3a85dbe..508c0b6 100644
--- a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
+++ b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
@@ -472,8 +472,8 @@
             {
               constantThatMustBeLoaded = true;
               opValue = isSigned
-                ? ConstantSInt::get(Type::LongTy, immedValue)
-                : ConstantUInt::get(Type::ULongTy, (uint64_t) immedValue);
+                ? (Value*)ConstantSInt::get(Type::LongTy, immedValue)
+                : (Value*)ConstantUInt::get(Type::ULongTy,(uint64_t)immedValue);
             }
         }