Fix format strings

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2021-10-30 09:31:29 +02:00
parent 8b6390846e
commit 20203de8d9
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ int main(int argc, char **argv) {
tprintf("Failed to load unicharset from %s\n", FLAGS_input_unicharset.c_str()); tprintf("Failed to load unicharset from %s\n", FLAGS_input_unicharset.c_str());
return 1; return 1;
} }
tprintf("Loaded unicharset of size %d from file %s\n", unicharset.size(), tprintf("Loaded unicharset of size %zu from file %s\n", unicharset.size(),
FLAGS_input_unicharset.c_str()); FLAGS_input_unicharset.c_str());
// Set unichar properties // Set unichar properties

View File

@ -189,7 +189,7 @@ void SetPropertiesForInputFile(const std::string &script_dir,
// Load the input unicharset // Load the input unicharset
unicharset.load_from_file(input_unicharset_file.c_str()); unicharset.load_from_file(input_unicharset_file.c_str());
tprintf("Loaded unicharset of size %d from file %s\n", unicharset.size(), tprintf("Loaded unicharset of size %zu from file %s\n", unicharset.size(),
input_unicharset_file.c_str()); input_unicharset_file.c_str());
// Set unichar properties // Set unichar properties