{
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);
}
}
{
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);
}
}