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 remaining MSVC x64 SDL2 warnings #6874

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

obligaron
Copy link
Contributor

@obligaron obligaron commented Dec 20, 2023

This PR fixes all remaining MSVC warnings for x64 (debug and release) on SDL2.

I tried to stay close to the original/existing code.
For SDL_RWops/Reading size_t is used for size.
For MpqWriter uint32_t is used for size.

It was a long way from 703 warnings to 0.
I hope that the cleanups will not only help to reduce the warnings, but also make the code more consistent. Especially with the types used.

@AJenbo
Copy link
Member

AJenbo commented Dec 21, 2023

Plus we can now take serious when a warning shows up in a PR :)

@AJenbo AJenbo merged commit 780015b into diasurgical:master Dec 21, 2023
23 checks passed
@obligaron obligaron deleted the mwarning branch December 21, 2023 20:42
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