aboutsummaryrefslogtreecommitdiff
path: root/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
commit50d1e8b70d1499e4a5aeba0a92ae9d33712e5f9e (patch)
tree56f65a227ba19f65cd552dda6fcd0fb0397e8083 /lib/CodeGen/DwarfWriter.cpp
parent9789aaad632f5a75fc8b8e70fd27aaa92199f3bb (diff)
fix build on 64 bit hosts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 993207d0f2..c3958906b6 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/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)
<< " "