From 6ba049c768826e425fd0e49e37d2a0055c9cf628 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 20 Jan 2018 15:08:44 -0500 Subject: [PATCH] ... --- coders/webp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0