Skip to content

d3d10/tests: Avoid implicit cast changing value.

Fixes clang warning:

../dlls/d3d10/tests/effect.c:9150:33: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
        ok(blend_factor[idx] == UINT_MAX, "Got unexpected blend_factor[%u] %.8e.\n", idx, blend_factor[idx]);
                             ~~ ^~~~~~~~
../include/msvcrt/limits.h:27:21: note: expanded from macro 'UINT_MAX'
#define UINT_MAX    0xffffffffU
                    ^~~~~~~~~~~

Merge request reports

Loading