From: Cristy Date: Sat, 20 Jan 2018 20:08:44 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-22~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ba049c768826e425fd0e49e37d2a0055c9cf628;p=imagemagick ... --- diff --git a/coders/webp.c b/coders/webp.c index a3e64d6ba..17e071b12 100644 --- a/coders/webp.c +++ b/coders/webp.c @@ -568,7 +568,7 @@ static int WebPEncodeWriter(const unsigned char *stream,size_t length, *image; image=(Image *) picture->custom_ptr; - return(length != 0 ? (WriteBlob(image,length,stream) == length) : 1); + return(length != 0 ? (WriteBlob(image,length,stream) == (ssize_t) length) : 1); } #endif