orcarm: OSX doesn't like comparisons against enum and int.