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 explicitly sized fields for addresses/values/ids #282

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

Jamiras
Copy link
Member

@Jamiras Jamiras commented Oct 10, 2023

Should have minimal impact on consumers, but ensures certain fields have explicit sizes. Most of these represent the "standard" size for the implicit types.

unsigned => uint32_t
unsigned char => uint8_t
char => uint8_t (when used for boolean or enum storage)
int => int32_t (when not used as a return value)

@Jamiras Jamiras added this to the 11.0.0 milestone Oct 10, 2023
@Jamiras Jamiras merged commit 94a2ba5 into RetroAchievements:develop Oct 16, 2023
6 checks passed
@Jamiras Jamiras deleted the feature/explicit_sizes branch October 16, 2023 14:14
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.

1 participant