commit | fb709b6817426c99d2ce48a2d08ef20e376a0e06 | [log] [tgz] |
---|---|---|
author | Jeff Cohen <jeffc@jolt-lang.org> | Wed Jan 25 02:40:10 2006 +0000 |
committer | Jeff Cohen <jeffc@jolt-lang.org> | Wed Jan 25 02:40:10 2006 +0000 |
tree | 4ccc7b8603d0a23c1d424e84d4b7cacbdda9d24b | |
parent | badf0d961454fed939b2cb670d41c8464e645541 [diff] [blame] |
Portably cast a pointer to an integer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25594 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index c395890..888c771 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp
@@ -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) << " "