From c30d1b4a1be535d4def3b6cbc5d27f167eb1176e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 24 Apr 2016 13:38:38 -0700 Subject: [PATCH] Port to Ubuntu 16.04 --enable-gcc-warnings * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem. --- src/image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index e8418b840c6..b07c1815eac 100644 --- a/src/image.c +++ b/src/image.c @@ -7979,7 +7979,8 @@ gif_load (struct frame *f, struct image *img) { img->lisp_data = Fcons (make_number (ext->Function), - Fcons (make_unibyte_string (ext->Bytes, ext->ByteCount), + Fcons (make_unibyte_string ((char *) ext->Bytes, + ext->ByteCount), img->lisp_data)); if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION && ext->ByteCount == 4) -- 2.11.4.GIT