Do not rely on implicit conversion from 0 to enum type
Merge pull request #2004 from yebblies/enumconv

[DDMD] Do not rely on implicit conversion from 0 to enum type