Use int32_t for enums