Skip to content

Commit

Permalink
squash lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 20, 2025
1 parent bcf7410 commit c27b293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magick/cache-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ static inline MagickBooleanType IsValidPixelOffset(const ssize_t x,
{
if (extent == 0)
return(MagickTrue);
if ((x >= (MAGICK_SSIZE_MAX/(ssize_t) extent)) ||
(x <= (MAGICK_SSIZE_MIN/(ssize_t) extent)))
if ((x >= (ssize_t) (MAGICK_SSIZE_MAX/(ssize_t) extent)) ||
(x <= (ssize_t) (MAGICK_SSIZE_MIN/(ssize_t) extent)))
return(MagickFalse);
return(MagickTrue);
}
Expand Down

0 comments on commit c27b293

Please sign in to comment.