Add support for GCC 2.96

llvm-svn: 3777
This commit is contained in:
Chris Lattner 2002-09-17 17:23:09 +00:00
parent ccf0fe57bc
commit 7c1b7e5889

View File

@ -472,8 +472,8 @@ FixConstantOperandsForInstr(Instruction* vmInstr,
{
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);
}
}