From e1e8fe1f2ff38a16a63a3b29b97c31fdd162f696 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi <geek4civic@gmail.com>
Date: Tue, 24 Sep 2013 03:23:07 +0000
Subject: [PATCH] DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191266 91177308-0d34-0410-b5e6-96231b3b80d8
---
 lib/DebugInfo/DWARFTypeUnit.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DebugInfo/DWARFTypeUnit.cpp b/lib/DebugInfo/DWARFTypeUnit.cpp
index c81e2403b1d..303bf707067 100644
--- a/lib/DebugInfo/DWARFTypeUnit.cpp
+++ b/lib/DebugInfo/DWARFTypeUnit.cpp
@@ -28,7 +28,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS) {
      << " version = " << format("0x%04x", getVersion())
      << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset())
      << " addr_size = " << format("0x%02x", getAddressByteSize())
-     << " type_signature = " << format("0x%16lx", TypeHash)
+     << " type_signature = " << format("0x%16" PRIx64, TypeHash)
      << " type_offset = " << format("0x%04x", TypeOffset)
      << " (next unit at " << format("0x%08x", getNextUnitOffset())
      << ")\n";