summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-01-24 21:26:43 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-01-24 21:26:43 +0000
commit1dbc389ad20de80af1dfb4db9a5f5b6e15223ad3 (patch)
treeaf78c199afb9b3573fb65aac5ca01ff87ed4a62b /llvm/lib/CodeGen/DwarfWriter.cpp
parentc5c228fa5967f986b6010b37ea0978b8e18427b3 (diff)
downloadbcm5719-llvm-1dbc389ad20de80af1dfb4db9a5f5b6e15223ad3.tar.gz
bcm5719-llvm-1dbc389ad20de80af1dfb4db9a5f5b6e15223ad3.zip
fix build on 64 bit hosts
llvm-svn: 25591
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 993207d0f25..c3958906b61 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 << (unsigned)this << std::dec
+ << std::hex << (unsigned long)this << std::dec
<< " "
<< TagString(Tag)
<< " "
OpenPOWER on IntegriCloud