Merge pull request #2048 from 9rnsr/fix10091

[REG2.063a] Issue 10091 - Cannot cast struct member string enum to static ubyte array of same size