diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-04-24 13:38:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-04-24 13:39:34 -0700 |
commit | c30d1b4a1be535d4def3b6cbc5d27f167eb1176e (patch) | |
tree | 895f97e544e5fcf9bcdb23b7d2c591ebc3c45e07 /src | |
parent | 9daf1cf1dd9e1025b615a0fea4dae81871e081da (diff) | |
download | emacs-c30d1b4a1be535d4def3b6cbc5d27f167eb1176e.tar.gz |
Port to Ubuntu 16.04 --enable-gcc-warnings
* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
Diffstat (limited to 'src')
-rw-r--r-- | src/image.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |