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 SDL_PRIs64 to use standard PRId64 #11426

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

zturtleman
Copy link
Contributor

SDL_PRIs64 tried to default to PRIs64 but the correct macro is PRId64.

SDL_PRIs32 already correctly uses PRId32. I tried to use PRIs64 and found SDL 2 and 3 also try to use it.

PRIs64 doesn't exist in C standards.
@sezero sezero merged commit 8a2cac7 into libsdl-org:main Nov 8, 2024
38 of 39 checks passed
@sezero
Copy link
Contributor

sezero commented Nov 8, 2024

Thanks.

And cherry-picked to SDL2 as 761ea32

@zturtleman zturtleman deleted the prid64 branch November 8, 2024 17:49
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