From d01b2953fac73977de3bc97e72ea04ad1ec6600f Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Thu, 29 Nov 2012 21:49:15 +0000 Subject: Resolve printf formatting warnings on Linux: - use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945 --- lldb/source/Expression/IRInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Expression/IRInterpreter.cpp') diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp index 4211c876bc6..b30b066a137 100644 --- a/lldb/source/Expression/IRInterpreter.cpp +++ b/lldb/source/Expression/IRInterpreter.cpp @@ -389,7 +389,7 @@ public: lldb_private::Value base = GetAccessTarget(region.m_base); - ss.Printf("%llx [%s - %s %llx]", + ss.Printf("%" PRIx64 " [%s - %s %llx]", region.m_base, lldb_private::Value::GetValueTypeAsCString(base.GetValueType()), lldb_private::Value::GetContextTypeAsCString(base.GetContextType()), -- cgit v1.2.3