Fixed a compiler warning about mismatched anonymous enums