Merge pull request #416 from antmicro/mglb/EnumWidth

Fix enum types other than int (default)