fixed: Implicit enumeration cast uncovered by Xcode 4.6.