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 uint8_t in msg/multi/sync and fix MSVC warnings #6856

Merged
merged 5 commits into from
Dec 16, 2023

Conversation

obligaron
Copy link
Contributor

@obligaron obligaron commented Dec 6, 2023

This PR reduces warnings by 33 (from 74 to 41).

One of the big changes is the use of uint8_t instead of size_t for player id in msg/multi/sync/network code (see also discussion in #6849).
I noticed that SNPLAYER_ALL was not being used (now removed).
Another thing is that size_t is now mostly used to pass memory sizes around in msg/multi/sync.
The rest are just minor MSVC warning fixes.

Sorry this PR is a bit bigger, but I tried to make different commits to make the review process easier.

Source/msg.cpp Show resolved Hide resolved
@AJenbo AJenbo merged commit ccaf8d1 into diasurgical:master Dec 16, 2023
23 checks passed
@obligaron obligaron deleted the nwarning branch December 16, 2023 19:50
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.

3 participants