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/API/SBFileSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/API/SBFileSpec.cpp') diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp index d494846687e3..cabf0905481c 100644 --- a/lldb/source/API/SBFileSpec.cpp +++ b/lldb/source/API/SBFileSpec.cpp @@ -154,7 +154,7 @@ SBFileSpec::GetPath (char *dst_path, size_t dst_len) const result = m_opaque_ap->GetPath (dst_path, dst_len); if (log) - log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%llu) => %u", + log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%" PRIu64 ") => %u", m_opaque_ap.get(), result, dst_path, (uint64_t)dst_len, result); if (result == 0 && dst_path && dst_len > 0) -- cgit v1.2.3