mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix casting so there's no warning on Alpha.
llvm-svn: 28605
This commit is contained in:
parent
1513c5909e
commit
30d5eade2a
@ -685,7 +685,7 @@ void CWriter::printConstant(Constant *CPV) {
|
||||
char Buffer[100];
|
||||
|
||||
uint64_t ll = DoubleToBits(FPC->getValue());
|
||||
sprintf(Buffer, "0x%llx", uint64_t(ll));
|
||||
sprintf(Buffer, "0x%llx", static_cast<long long>(ll));
|
||||
|
||||
std::string Num(&Buffer[0], &Buffer[6]);
|
||||
unsigned long Val = strtoul(Num.c_str(), 0, 16);
|
||||
|
Loading…
Reference in New Issue
Block a user