Fix enum-struct tag-mismatch compile warning