Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.15 -> 1.16
---
Log message:

Portably cast a pointer to an integer.


---
Diffs of the changes:  (+1 -1)

 DwarfWriter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.15 
llvm/lib/CodeGen/DwarfWriter.cpp:1.16
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.15       Tue Jan 24 15:26:43 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp    Tue Jan 24 20:40:10 2006
@@ -645,7 +645,7 @@
 #ifndef NDEBUG
   void DIEAbbrev::print(std::ostream &O) {
     O << "Abbreviation @"
-      << std::hex << (unsigned long)this << std::dec
+      << std::hex << (size_t)this << std::dec
       << "  "
       << TagString(Tag)
       << " "



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to