Commit c30d1b4a authored by Paul Eggert's avatar Paul Eggert

Port to Ubuntu 16.04 --enable-gcc-warnings

* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
parent 9daf1cf1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment