Fixed dereferencing type-punned pointer will break strict-aliasing rules warning.
Merge pull request #80 from redboltz/fix_enum_member_test

Fixed dereferencing type-punned pointer will break strict-aliasing rules warning