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

Coerce size()/strlen() to unsigned int #79

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

GabeNI
Copy link
Contributor

@GabeNI GabeNI commented Feb 27, 2024

Explicitly truncate string size to 32 bits to prevent C4267 on Visual Studio:

warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int'

@cxong cxong merged commit 782fb12 into cxong:master Feb 27, 2024
12 checks passed
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