Portably cast a pointer to an integer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen
2006-01-25 02:40:10 +00:00
parent badf0d9614
commit fb709b6817
2 changed files with 2 additions and 2 deletions

View File

@@ -645,7 +645,7 @@ void DIEAbbrev::Emit(const DwarfWriter &DW) const {
#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)
<< " "