summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-05-28 18:36:11 +0000
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-05-28 18:36:11 +0000
commitcf950b46c8ca5fc32cac6cc9bf8f542246eb6a5b (patch)
tree41478b043bed8dd1b04731be3be5ce8a50d9adc7
parentcaeec8501e1f69aa64954048950c9454f82c02bc (diff)
downloadbcm5719-llvm-cf950b46c8ca5fc32cac6cc9bf8f542246eb6a5b.tar.gz
bcm5719-llvm-cf950b46c8ca5fc32cac6cc9bf8f542246eb6a5b.zip
Fix 'warning: format specifies type 'int' but the argument has type 'MIuint' (aka 'unsigned long long') [-Wformat]' with Clang 8.0
llvm-svn: 361861
-rw-r--r--lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp b/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
index 58a7c7de500..60cfd3563da 100644
--- a/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
+++ b/lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
@@ -951,7 +951,7 @@ bool CMICmnLLDBDebuggerHandleEvents::HandleProcessEventStateSuspended(
} else {
const MIuint nTargetIndex = rDebugger.GetIndexOfTarget(target);
if (nTargetIndex != UINT_MAX)
- streamOut.Printf("Target %d: (", nTargetIndex);
+ streamOut.Printf("Target %" PRIu64 ": (", (uint64_t)nTargetIndex);
else
streamOut.Printf("Target <unknown index>: (");
target.GetDescription(streamOut, lldb::eDescriptionLevelBrief);
OpenPOWER on IntegriCloud