mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-12 09:00:40 -08:00
Port to Ubuntu 16.04 --enable-gcc-warnings
* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
This commit is contained in:
parent
9daf1cf1dd
commit
c30d1b4a1b
1 changed files with 2 additions and 1 deletions
|
|
@ -7979,7 +7979,8 @@ gif_load (struct frame *f, struct image *img)
|
||||||
{
|
{
|
||||||
img->lisp_data
|
img->lisp_data
|
||||||
= Fcons (make_number (ext->Function),
|
= 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));
|
img->lisp_data));
|
||||||
if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION
|
if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION
|
||||||
&& ext->ByteCount == 4)
|
&& ext->ByteCount == 4)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue