summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-01-25 17:18:50 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-01-25 17:18:50 +0000
commitc3cafb8a67574b8c5134c1c7eecc671325779a1f (patch)
tree3758df3020b014eb88124329b06fe46b2677f8ab /llvm/lib/CodeGen/DwarfWriter.cpp
parentfb20616aa6771186847acd289964aadfacf8225f (diff)
downloadbcm5719-llvm-c3cafb8a67574b8c5134c1c7eecc671325779a1f.tar.gz
bcm5719-llvm-c3cafb8a67574b8c5134c1c7eecc671325779a1f.zip
Make it even more portable.
llvm-svn: 25605
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 888c7717057..c11c52f08c0 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -645,7 +645,7 @@ void DIEAbbrev::Emit(const DwarfWriter &DW) const {
#ifndef NDEBUG
void DIEAbbrev::print(std::ostream &O) {
O << "Abbreviation @"
- << std::hex << (size_t)this << std::dec
+ << std::hex << (intptr_t)this << std::dec
<< " "
<< TagString(Tag)
<< " "
OpenPOWER on IntegriCloud