Commit 2037898d authored by Paul Eggert's avatar Paul Eggert
Browse files

* image.c (gif_load): Fix pointer signedness.

parent 77a765fd
......@@ -5,6 +5,7 @@
(xpm_load): Redo to avoid "discards qualifiers" gcc warning.
(x_edge_detection): Remove unnecessary cast that
gcc -Wbad-function-cast diagnoses.
(gif_load): Fix pointer signedness.
2011-03-11 Paul Eggert <>
......@@ -7127,7 +7127,7 @@ gif_load (struct frame *f, struct image *img)
/* Open the GIF file. */
gif = fn_DGifOpenFileName (SDATA (file));
gif = fn_DGifOpenFileName (SSDATA (file));
if (gif == NULL)
image_error ("Cannot open `%s'", file, Qnil);
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