mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
* image.c (gif_load): Fix pointer signedness.
This commit is contained in:
parent
77a765fd78
commit
2037898d7a
2 changed files with 2 additions and 1 deletions
|
|
@ -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 <eggert@cs.ucla.edu>
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue