X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=coders%2Fmiff.c;h=661419fe2441b836b72d54d7771124690ad1a6a6;hb=0df696d814c8f16c020d5157c85ffeaa66a62045;hp=e63fa91561716e813ae8bd38b1bf0adbdd9572bd;hpb=fbbafc9959951fde07b4673d5d7e42b90512bd1b;p=imagemagick diff --git a/coders/miff.c b/coders/miff.c index e63fa9156..661419fe2 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -747,7 +747,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, { if (LocaleCompare(keyword,"gamma") == 0) { - image->gamma=StringToDouble(options); + image->gamma=StringToDouble(options,(char **) NULL); break; } if (LocaleCompare(keyword,"gravity") == 0) @@ -1014,7 +1014,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, { if (LocaleCompare(keyword,"version") == 0) { - version=StringToDouble(options); + version=StringToDouble(options,(char **) NULL); break; } (void) SetImageProperty(image,keyword,options);