Skip to content

Commit a95edd7

Browse files
committed
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 <[email protected]>
1 parent 92c02a7 commit a95edd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classify/shapeclassifier.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void ShapeClassifier::UnicharPrintResults(
179179
if (results[i].fonts.size() != 0) {
180180
tprintf(" Font Vector:");
181181
for (int f = 0; f < results[i].fonts.size(); ++f) {
182-
tprintf(" %d", results[i].fonts[f]);
182+
tprintf(" %d", results[i].fonts[f].fontinfo_id);
183183
}
184184
}
185185
tprintf("\n");

0 commit comments

Comments
 (0)