Fixed integer to float type cast.
This commit is contained in:
parent
842707b106
commit
2bda3a30b0
@ -635,7 +635,7 @@ static BOOL check_for_mismatches(const BYTE* planeA, const BYTE* planeB, UINT32
|
|||||||
const BYTE a = planeA[x];
|
const BYTE a = planeA[x];
|
||||||
const BYTE b = planeB[x];
|
const BYTE b = planeB[x];
|
||||||
|
|
||||||
if (fabsf(a - b) > 2.0f)
|
if (fabsf((float)a - (float)b) > 2.0f)
|
||||||
{
|
{
|
||||||
rc = TRUE;
|
rc = TRUE;
|
||||||
fprintf(stderr, "[%08x] %02x != %02x\n",
|
fprintf(stderr, "[%08x] %02x != %02x\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user