From: Cristy Date: Sun, 28 Jul 2019 02:07:41 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-58~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=645ed1311a2dfe86a3c634b42354eb5c7ea4bc59;p=imagemagick ... --- diff --git a/coders/mpc.c b/coders/mpc.c index aed8c9270..9211ac544 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -292,7 +292,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) } while (c != EOF); *p='\0'; p=options; - while (isspace((int) ((unsigned char) c)) != 0) + while (isspace(c) != 0) c=ReadBlobByte(image); if (c == (int) '=') { @@ -324,7 +324,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) } } if (*options != '{') - if (isspace((int) ((unsigned char) c)) != 0) + if (isspace(c) != 0) break; } if (options == (char *) NULL) @@ -775,7 +775,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) } else c=ReadBlobByte(image); - while (isspace((int) ((unsigned char) c)) != 0) + while (isspace(c) != 0) c=ReadBlobByte(image); } options=DestroyString(options);