https://bugs.winehq.org/show_bug.cgi?id=38337
--- Comment #12 from Sergey Isakov isakov-sl@bk.ru --- /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/d3d12/tests/d3d12.c:28:9: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs((c1 & 0xff) - (c2 & 0xff)) > max_diff) ^ /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/d3d12/tests/d3d12.c:28:9: note: remove the call to 'abs' since unsigned values cannot be negative if (abs((c1 & 0xff) - (c2 & 0xff)) > max_diff) ^~~ /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/d3d12/tests/d3d12.c:31:9: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs((c1 & 0xff) - (c2 & 0xff)) > max_diff) ^ /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/d3d12/tests/d3d12.c:31:9: note: remove the call to 'abs' since unsigned values cannot be negative if (abs((c1 & 0xff) - (c2 & 0xff)) > max_diff) ^~~
------------------------ as said before there must be cast to singed int.