From 7c27f9669e7674e8a33f42650e73ab24ad254fd6 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 27 Jul 2019 21:57:59 -0400 Subject: [PATCH] ... --- coders/hdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coders/hdr.c b/coders/hdr.c index b420111f3..698924219 100644 --- a/coders/hdr.c +++ b/coders/hdr.c @@ -263,7 +263,7 @@ static Image *ReadHDRImage(const ImageInfo *image_info,ExceptionInfo *exception) } while (isalnum(c) || (c == '_')); *p='\0'; value_expected=MagickFalse; - while ((isspace((int) ((unsigned char) c)) != 0) || (c == '=')) + while ((isspace(c) != 0) || (c == '=')) { if (c == '=') value_expected=MagickTrue; @@ -375,7 +375,7 @@ static Image *ReadHDRImage(const ImageInfo *image_info,ExceptionInfo *exception) } } if ((image->columns == 0) && (image->rows == 0)) - while (isspace((int) ((unsigned char) c)) != 0) + while (isspace(c) != 0) c=ReadBlobByte(image); } if ((LocaleCompare(format,"32-bit_rle_rgbe") != 0) && -- 2.40.0