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

Use set width datatypes instead of long long/long #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dracc
Copy link
Contributor

@dracc dracc commented Oct 27, 2020

Might/Could/Should fix the "64 bit build breaks images" issue.

@dracc dracc changed the title Use int32_t instead of int Use set width datatypes instead of long long/long Oct 27, 2020
@dracc dracc force-pushed the intfix branch 2 times, most recently from 5e872b9 to 2931f51 Compare October 27, 2020 21:09
@GXTX
Copy link
Contributor

GXTX commented Feb 6, 2021

lgtm 👍 Hopefully a maintainer can merge this soon.

@espes
Copy link

espes commented May 26, 2021

Do you have any idea what exactly fixes it? Indiscriminately using explicit width data types, especially for status codes, is not very idiomatic

ssize_t wrote;
xoff_t curpos;
int fp = -1, err = 0;
int32_t fp = -1, err = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is almost certainly bad. Because fp is a file handle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants