From a292744ecc585432a5c75c59ae5f7b4823783b38 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Wed, 25 Jan 2006 02:40:10 +0000 Subject: Portably cast a pointer to an integer. llvm-svn: 25594 --- llvm/lib/CodeGen/DwarfWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp') diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index c3958906b61..888c7717057 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 long)this << std::dec + << std::hex << (size_t)this << std::dec << " " << TagString(Tag) << " " -- cgit v1.2.3