Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164148 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/Breakpoint.cpp b/source/Breakpoint/Breakpoint.cpp
index 095924f..e158258 100644
--- a/source/Breakpoint/Breakpoint.cpp
+++ b/source/Breakpoint/Breakpoint.cpp
@@ -525,9 +525,9 @@
case lldb::eDescriptionLevelFull:
if (num_locations > 0)
{
- s->Printf(", locations = %zu", num_locations);
+ s->Printf(", locations = %llu", (uint64_t)num_locations);
if (num_resolved_locations > 0)
- s->Printf(", resolved = %zu", num_resolved_locations);
+ s->Printf(", resolved = %llu", (uint64_t)num_resolved_locations);
}
else
{