[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 11 08:51:08 PDT 2004
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.200 -> 1.201
---
Log message:
Fix a warning that is emitted on the suns
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.200 llvm/lib/Target/CBackend/Writer.cpp:1.201
--- llvm/lib/Target/CBackend/Writer.cpp:1.200 Tue Oct 5 23:21:52 2004
+++ llvm/lib/Target/CBackend/Writer.cpp Mon Oct 11 10:50:40 2004
@@ -573,7 +573,7 @@
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);
More information about the llvm-commits
mailing list