Commit 1da4e1e1 authored by Cristy's avatar Cristy

...

parent be60a7fb
......@@ -1096,7 +1096,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception)
if (count == 0)
break;
buffer[count]='\0';
if ((ssize_t) (count+offset+MagickPathExtent) >= (ssize_t) extent)
if (((ssize_t) count+offset+MagickPathExtent) >= (ssize_t) extent)
{
extent<<=1;
comments=(char *) ResizeQuantumMemory(comments,extent+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment