fix Issue 10687 - Refused cast from uint[] to array of uint-based enums at compile-time
Merge pull request #2612 from 9rnsr/fix10687

[REG2.064a] Issue 10687 - Refused cast from uint[] to array of uint-based enums at compile-time