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

Type mismatch on 64bit platforms #65

Merged
merged 1 commit into from
Oct 28, 2015
Merged

Conversation

ws233
Copy link
Contributor

@ws233 ws233 commented Jul 26, 2015

While building tesseract with clang for 64 bit architecture there are following warnings:

helpers.h:33:32: Implicit conversion loses integer precision: 'unsigned long' to 'int'
genericvector.h:338:27: Implicit conversion loses integer precision: 'unsigned long' to 'int'

This patch does explicit type casting and eliminates those warnings on 64bit platforms.

@ws233 ws233 changed the title Type mismatch on a 64bit platforms Type mismatch on 64bit platforms Aug 24, 2015
zdenop added a commit that referenced this pull request Oct 28, 2015
Type mismatch on 64bit platforms
@zdenop zdenop merged commit b882590 into tesseract-ocr:master Oct 28, 2015
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Type mismatch on 64bit platforms
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Type mismatch on 64bit platforms
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Type mismatch on 64bit platforms
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
Type mismatch on 64bit platforms
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