From: Paul Eggert Date: Sun, 24 Apr 2016 20:38:38 +0000 (-0700) Subject: Port to Ubuntu 16.04 --enable-gcc-warnings X-Git-Tag: emacs-25.0.94~151 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c30d1b4a1be535d4def3b6cbc5d27f167eb1176e;p=emacs.git Port to Ubuntu 16.04 --enable-gcc-warnings * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem. --- 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)