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/Core/DataBufferMemoryMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/DataBufferMemoryMap.cpp') diff --git a/lldb/source/Core/DataBufferMemoryMap.cpp b/lldb/source/Core/DataBufferMemoryMap.cpp index 8f9b56d3539..5e1403a5a82 100644 --- a/lldb/source/Core/DataBufferMemoryMap.cpp +++ b/lldb/source/Core/DataBufferMemoryMap.cpp @@ -209,7 +209,7 @@ DataBufferMemoryMap::MemoryMapFromFileDescriptor (int fd, } if (error.GetError() == ENOMEM) { - error.SetErrorStringWithFormat("could not allocate %lld bytes of memory to mmap in file", (uint64_t) length); + error.SetErrorStringWithFormat("could not allocate %" PRId64 " bytes of memory to mmap in file", (uint64_t) length); } } else -- cgit v1.2.3