From 50a48c1294c561fa118f1d3366b92f174f3bdfa7 Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Mon, 22 Aug 2016 19:08:00 +0200 Subject: [PATCH] Silence signed compiler warnings --- backend/gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/gif.c b/backend/gif.c index 7ebd43d6..8c7c5908 100644 --- a/backend/gif.c +++ b/backend/gif.c @@ -491,9 +491,9 @@ int gif_pixel_plot(struct zint_symbol *symbol, int image_height, int image_width /* call lzw encoding */ byte_out = gif_lzw( - lzwoutbuf, + (unsigned char *) lzwoutbuf, image_height * image_width, - rotated_bitmap, + (unsigned char *) rotated_bitmap, image_height * image_width); if (byte_out <= 0) {