Skip to content

Commit fbcc106

Browse files
author
Cristy
committed
eliminate compiler warning
1 parent 43afee6 commit fbcc106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coders/pnm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image)
17771777
{
17781778
if (q != pixels)
17791779
{
1780-
if ((q-pixels+(ssize_t) extent+1) < sizeof(pixels))
1780+
if ((size_t) (q-pixels+(ssize_t) extent+1) < sizeof(pixels))
17811781
*q++=' ';
17821782
else
17831783
{

0 commit comments

Comments
 (0)