Port to Ubuntu 16.04 --enable-gcc-warnings

* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
This commit is contained in:
Paul Eggert 2016-04-24 13:38:38 -07:00
parent 9daf1cf1dd
commit c30d1b4a1b

View file

@ -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)