mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Fix argument for tprintf
This fixes a gcc warning: ccutil/tprintf.h:31:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘tesseract::ScoredFont’ [-Wformat=] Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
92c02a7d7c
commit
a95edd7e13
@ -179,7 +179,7 @@ void ShapeClassifier::UnicharPrintResults(
|
||||
if (results[i].fonts.size() != 0) {
|
||||
tprintf(" Font Vector:");
|
||||
for (int f = 0; f < results[i].fonts.size(); ++f) {
|
||||
tprintf(" %d", results[i].fonts[f]);
|
||||
tprintf(" %d", results[i].fonts[f].fontinfo_id);
|
||||
}
|
||||
}
|
||||
tprintf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user