From c140322819806cb292e079d62f2e9dbab697c08c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 16 Sep 2020 15:52:50 -0700 Subject: [PATCH] Use zu rather than llu format specifier for size_t (-Wformat warning fix). --- lldb/source/Expression/REPL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Expression/REPL.cpp b/lldb/source/Expression/REPL.cpp index 1f2b009..c3d1496 100644 --- a/lldb/source/Expression/REPL.cpp +++ b/lldb/source/Expression/REPL.cpp @@ -196,7 +196,7 @@ static bool ReadCode(const std::string &path, std::string &code, const size_t max_size = code.max_size(); if (file_size > max_size) { error_sp->Printf("file at path '%s' too large: " - "file_size = %llu, max_size = %llu\n", + "file_size = %zu, max_size = %zu\n", path.c_str(), file_size, max_size); return false; } -- 2.7.4