From: cristy Date: Sat, 20 Dec 2014 23:29:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=587235d2854810066a543e4c80be0f91b12e4ad2;p=imagemagick --- diff --git a/coders/hdr.c b/coders/hdr.c index 272934260..9a03ecad6 100644 --- a/coders/hdr.c +++ b/coders/hdr.c @@ -340,7 +340,10 @@ static Image *ReadHDRImage(const ImageInfo *image_info,ExceptionInfo *exception) case 'Y': case 'y': { - if (strcmp(keyword,"Y") == 0) + char + target[] = "Y"; + + if (strcmp(keyword,target) == 0) { int height,