Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/3537
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 14, 2021
1 parent d5c7cba commit 2747ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/dpx.c
Expand Up @@ -562,9 +562,9 @@ static inline MagickBooleanType IsFloatDefined(const float value)
float_value;
} quantum;

quantum.unsigned_value=0U;
quantum.unsigned_value=(~0U);
quantum.float_value=(float) value;
if (quantum.unsigned_value == 0U)
if (quantum.unsigned_value == ~0U)
return(MagickFalse);
return(MagickTrue);
}
Expand Down

0 comments on commit 2747ccf

Please sign in to comment.