Skip to content

Commit c140322

Browse files
committed
Use zu rather than llu format specifier for size_t (-Wformat warning fix).
1 parent ebfbdeb commit c140322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Expression/REPL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static bool ReadCode(const std::string &path, std::string &code,
196196
const size_t max_size = code.max_size();
197197
if (file_size > max_size) {
198198
error_sp->Printf("file at path '%s' too large: "
199-
"file_size = %llu, max_size = %llu\n",
199+
"file_size = %zu, max_size = %zu\n",
200200
path.c_str(), file_size, max_size);
201201
return false;
202202
}

0 commit comments

Comments
 (0)