From: Cristy Date: Sat, 15 Dec 2018 22:39:31 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-17~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cd88c5a14f9cf732175909667b2f3b3b1bca686;p=imagemagick ... --- diff --git a/ChangeLog b/ChangeLog index 1f11269ed..0675d7b65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,6 @@ 2018-12-02 7.0.8-16 Cristy * Support -clahe clip limit with percentages (e.g. -clahe 50x50%+128+3). - 2018-12-10 7.0.8-16 Cristy * Release ImageMagick version 7.0.8-16, GIT revision 15109:9a9af88de:20181210. diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 35e6f08a0..b0cad92ef 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -6974,7 +6974,7 @@ static PrimitiveInfo *TraceStrokePolygon(const Image *image, const DrawInfo *draw_info,const PrimitiveInfo *primitive_info) { #define CheckPathExtent(pad) \ - if ((q+(pad)) >= (ssize_t) max_strokes) \ + if ((ssize_t) (q+(pad)) >= (ssize_t) max_strokes) \ { \ if (~max_strokes < (pad)) \ { \ diff --git a/coders/gif.c b/coders/gif.c index dafd422da..e8a24bb3a 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1096,7 +1096,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) if (count == 0) break; buffer[count]='\0'; - if ((count+offset+MagickPathExtent) >= (ssize_t) extent) + if ((ssize_t) (count+offset+MagickPathExtent) >= (ssize_t) extent) { extent<<=1; comments=(char *) ResizeQuantumMemory(comments,extent+