mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-20 15:59:11 +08:00
Fix format strings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
8b6390846e
commit
20203de8d9
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user