mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Fix two LGTM alerts (Comparison between i of type int16_t and wider type int32_t)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
4a56136d34
commit
d935502b48
@ -262,7 +262,7 @@ int16_t Tesseract::eval_word_spacing(WERD_RES_LIST &word_res_list) {
|
||||
int16_t total_score = 0;
|
||||
int16_t word_count = 0;
|
||||
int16_t done_word_count = 0;
|
||||
int16_t i;
|
||||
int i;
|
||||
int16_t offset;
|
||||
int16_t prev_word_score = 0;
|
||||
bool prev_word_done = false;
|
||||
|
Loading…
Reference in New Issue
Block a user