Skip to content

Fix #888 #902

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 23, 2019
Merged

Fix #888 #902

merged 1 commit into from
Mar 23, 2019

Conversation

res2k
Copy link
Contributor

@res2k res2k commented Mar 23, 2019

gcc recognizes the 8-bit-wide value_type_ bit field as unsigned char, which is nice, I guess.
OTOH, it apparently stores ValueType as unsigned int, triggering a warning on the assignment.
As the (legal) ValueType values comfortably fit into an unsigned char we can simply cast to that, getting rid of the warning.

@cdunn2001 cdunn2001 merged commit 3e2f8d3 into open-source-parsers:master Mar 23, 2019
@res2k res2k deleted the fix-888 branch April 7, 2019 10:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants