[PATCH] d3dx9: Don't check for negative enum value.

Jacek Caban jacek at codeweavers.com
Mon Mar 23 20:23:08 CDT 2020

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.



More information about the wine-devel mailing list