[ ] I've documented or updated the documentation of every API function and struct this PR changes.
[ ] I've added tests that prove my fix is effective or that my feature works (if possible)
Detailed description
Of course an enum value has the width of an int.
If it is 64bits long and on a big endian machine,
the enum value gets assigned to the upper bits.
Not the lower ones.
Your checklist for this pull request
Detailed description
Of course an enum value has the width of an int. If it is 64bits long and on a big endian machine, the enum value gets assigned to the upper bits. Not the lower ones.
Test plan
Closing issues
...