mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 10:27:02 +00:00
Fix a warning that is emitted on the suns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30ba5690cf
commit
c71ff4c34b
@ -573,7 +573,7 @@ void CWriter::printConstant(Constant *CPV) {
|
||||
char Buffer[100];
|
||||
|
||||
DHex.d = FPC->getValue();
|
||||
sprintf(Buffer, "0x%llx", DHex.ll);
|
||||
sprintf(Buffer, "0x%llx", (unsigned long long)DHex.ll);
|
||||
|
||||
std::string Num(&Buffer[0], &Buffer[6]);
|
||||
unsigned long Val = strtoul(Num.c_str(), 0, 16);
|
||||
|
@ -573,7 +573,7 @@ void CWriter::printConstant(Constant *CPV) {
|
||||
char Buffer[100];
|
||||
|
||||
DHex.d = FPC->getValue();
|
||||
sprintf(Buffer, "0x%llx", DHex.ll);
|
||||
sprintf(Buffer, "0x%llx", (unsigned long long)DHex.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