Skip to content

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.

4 participants