Use zu rather than llu format specifier for size_t (-Wformat warning fix).

This commit is contained in:
Eric Christopher 2020-09-16 15:52:50 -07:00
parent ebfbdebe96
commit c140322819
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}