Fix enum syntax
Merge pull request #149 from niku/patch-1

Fix enum syntax