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

Silence some compiler warnings #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nemequ
Copy link

@nemequ nemequ commented Nov 15, 2015

MSVC (at least) complains about trying to store data from a larger type
(such as size_t) in a smaller type (such as uint16_t) unless you
expicitly cast the value.

MSVC (at least) complains about trying to store data from a larger type
(such as size_t) in a smaller type (such as uint16_t) unless you
expicitly cast the value.
@silentbicycle
Copy link
Collaborator

Looks good. I will review the consistency of uint16_t and size_t types before the next release.

@silentbicycle silentbicycle added this to the 0.4.2 milestone Jul 4, 2021
silentbicycle added a commit that referenced this pull request Jul 4, 2021
They mostly had to do with mixing up numeric types.

Make a couple code style changes to clarify behavior, especially
regarding return types.

Closes #38.
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