diff options
| author | Paul Eggert | 2011-03-11 00:01:09 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-11 00:01:09 -0800 |
| commit | 2037898d7ada760ef84df072d05addf826710f65 (patch) | |
| tree | 2ab5d3afa4a7e631bbbea60e50b81a89e3959158 | |
| parent | 77a765fd789f80afbe170bf640794a4b25968ea6 (diff) | |
| download | emacs-2037898d7ada760ef84df072d05addf826710f65.tar.gz emacs-2037898d7ada760ef84df072d05addf826710f65.zip | |
* image.c (gif_load): Fix pointer signedness.
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/image.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cb535bad8a4..7170fcc162a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | (xpm_load): Redo to avoid "discards qualifiers" gcc warning. | 5 | (xpm_load): Redo to avoid "discards qualifiers" gcc warning. |
| 6 | (x_edge_detection): Remove unnecessary cast that | 6 | (x_edge_detection): Remove unnecessary cast that |
| 7 | gcc -Wbad-function-cast diagnoses. | 7 | gcc -Wbad-function-cast diagnoses. |
| 8 | (gif_load): Fix pointer signedness. | ||
| 8 | 9 | ||
| 9 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> |
| 10 | 11 | ||
diff --git a/src/image.c b/src/image.c index 810bd4be989..383e154b265 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -7127,7 +7127,7 @@ gif_load (struct frame *f, struct image *img) | |||
| 7127 | } | 7127 | } |
| 7128 | 7128 | ||
| 7129 | /* Open the GIF file. */ | 7129 | /* Open the GIF file. */ |
| 7130 | gif = fn_DGifOpenFileName (SDATA (file)); | 7130 | gif = fn_DGifOpenFileName (SSDATA (file)); |
| 7131 | if (gif == NULL) | 7131 | if (gif == NULL) |
| 7132 | { | 7132 | { |
| 7133 | image_error ("Cannot open `%s'", file, Qnil); | 7133 | image_error ("Cannot open `%s'", file, Qnil); |