Skip to content

Commit c1d649e

Browse files
committed
api: Replace Tesseract data types by POSIX data types
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent b4d7705 commit c1d649e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/baseapi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ void TessBaseAPI::DumpPGM(const char* filename) {
760760
fprintf(fp, "P5 %d %d 255\n", width, height);
761761
for (int y = 0; y < height; ++y, data += pixGetWpl(pix)) {
762762
for (int x = 0; x < width; ++x) {
763-
uinT8 b = GET_DATA_BIT(data, x) ? 0 : 255;
763+
uint8_t b = GET_DATA_BIT(data, x) ? 0 : 255;
764764
fwrite(&b, 1, 1, fp);
765765
}
766766
}

0 commit comments

Comments
 (0)