Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warning (-Wchar-subscript) #1259

Merged
merged 1 commit into from
Jan 8, 2018

Conversation

stweil
Copy link
Member

@stweil stweil commented Jan 8, 2018

ccstruct/seam.cpp:66:26: warning:
array subscript has type 'char' [-Wchar-subscripts]

Fix it by using an unsigned index and use the same type for related values.

Signed-off-by: Stefan Weil [email protected]

ccstruct/seam.cpp:66:26: warning:
 array subscript has type 'char' [-Wchar-subscripts]

Fix it by using an unsigned index and use the same type for related values.

Signed-off-by: Stefan Weil <[email protected]>
@zdenop zdenop merged commit c4d8f27 into tesseract-ocr:master Jan 8, 2018
@stweil stweil deleted the warnings branch January 9, 2018 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants