Skip to content

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
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