Fixing implicit enum conversion error from Xcode 5.1
Merge pull request #4 from OliverLetterer/implicit-enum-conversion

Fixing implicit enum conversion warning from Xcode 5.1