diff options
| author | Paul Eggert | 2016-04-24 13:38:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-24 13:39:34 -0700 |
| commit | c30d1b4a1be535d4def3b6cbc5d27f167eb1176e (patch) | |
| tree | 895f97e544e5fcf9bcdb23b7d2c591ebc3c45e07 /src/image.c | |
| parent | 9daf1cf1dd9e1025b615a0fea4dae81871e081da (diff) | |
| download | emacs-c30d1b4a1be535d4def3b6cbc5d27f167eb1176e.tar.gz emacs-c30d1b4a1be535d4def3b6cbc5d27f167eb1176e.zip | |
Port to Ubuntu 16.04 --enable-gcc-warnings
* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
Diffstat (limited to 'src/image.c')
| -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) | |||
| 7979 | { | 7979 | { |
| 7980 | img->lisp_data | 7980 | img->lisp_data |
| 7981 | = Fcons (make_number (ext->Function), | 7981 | = Fcons (make_number (ext->Function), |
| 7982 | Fcons (make_unibyte_string (ext->Bytes, ext->ByteCount), | 7982 | Fcons (make_unibyte_string ((char *) ext->Bytes, |
| 7983 | ext->ByteCount), | ||
| 7983 | img->lisp_data)); | 7984 | img->lisp_data)); |
| 7984 | if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION | 7985 | if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION |
| 7985 | && ext->ByteCount == 4) | 7986 | && ext->ByteCount == 4) |