On 24.03.2020 01:53, Chip Davis wrote:
Don't some compilers pick 'int' instead of 'unsigned int' for enums?
Compiler has some freedom to do that, yes, but in this case we always pass values from an internal table and we know that it's never negative. In fact, I'm not sure why the check is there in the first place. It could be an assert() or just skipped, unless I'm missing something.
Thanks,
Jacek