[Lldb-commits] [lldb] r183250 - Fixed printf build warning.

Greg Clayton gclayton at apple.com
Tue Jun 4 14:30:43 PDT 2013


Author: gclayton
Date: Tue Jun  4 16:30:42 2013
New Revision: 183250

URL: http://llvm.org/viewvc/llvm-project?rev=183250&view=rev
Log:
Fixed printf build warning.

Modified:
    lldb/trunk/source/Expression/IRMemoryMap.cpp

Modified: lldb/trunk/source/Expression/IRMemoryMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRMemoryMap.cpp?rev=183250&r1=183249&r2=183250&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRMemoryMap.cpp (original)
+++ lldb/trunk/source/Expression/IRMemoryMap.cpp Tue Jun  4 16:30:42 2013
@@ -677,7 +677,7 @@ IRMemoryMap::ReadScalarFromMemory (Scala
         {
         default:
             error.SetErrorToGenericError();
-            error.SetErrorStringWithFormat("Couldn't read scalar: unsupported size %" PRId64, size);
+            error.SetErrorStringWithFormat("Couldn't read scalar: unsupported size %" PRIu64, (uint64_t)size);
             return;
         case 1: scalar = extractor.GetU8(&offset);  break;
         case 2: scalar = extractor.GetU16(&offset); break;





More information about the lldb-commits mailing list