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:
Stefan Weil 2016-03-17 10:46:10 +01:00
parent 92c02a7d7c
commit a95edd7e13

View File

@ -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");