aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-02-06 22:18:23 -0800
committerPaul Eggert2011-02-06 22:18:23 -0800
commitb19beacc5491758e57e2afb890aa9fdd696a9e0e (patch)
tree4cdd9ce6056597bc8701ca9095807d4590154642 /src
parentc45e52762bee7033872fbc34f3dc3a343c77855d (diff)
downloademacs-b19beacc5491758e57e2afb890aa9fdd696a9e0e.tar.gz
emacs-b19beacc5491758e57e2afb890aa9fdd696a9e0e.zip
* image.c: conform to C89 pointer rules
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/image.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 62316385940..24ec9ce43cd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -28,6 +28,7 @@
28 * indent.c (compute_motion): Likewise. 28 * indent.c (compute_motion): Likewise.
29 * xfont.c (xfont_decode_coding_xlfd): Likewise. 29 * xfont.c (xfont_decode_coding_xlfd): Likewise.
30 * ralloc.c (resize_bloc): Likewise. 30 * ralloc.c (resize_bloc): Likewise.
31 * image.c (tiff_load): Likewise.
31 * xml.c (make_dom, parse_region): Likewise. 32 * xml.c (make_dom, parse_region): Likewise.
32 * character.c (strwidth): Make its argument const char *, not const 33 * character.c (strwidth): Make its argument const char *, not const
33 unsigned char *, since more callers prefer it that way. All callers 34 unsigned char *, since more callers prefer it that way. All callers
diff --git a/src/image.c b/src/image.c
index 314849ef750..c7820c3a7fe 100644
--- a/src/image.c
+++ b/src/image.c
@@ -6778,7 +6778,7 @@ tiff_load (struct frame *f, struct image *img)
6778 } 6778 }
6779 6779
6780 /* Try to open the image file. */ 6780 /* Try to open the image file. */
6781 tiff = fn_TIFFOpen (SDATA (file), "r"); 6781 tiff = fn_TIFFOpen (SSDATA (file), "r");
6782 if (tiff == NULL) 6782 if (tiff == NULL)
6783 { 6783 {
6784 image_error ("Cannot open `%s'", file, Qnil); 6784 image_error ("Cannot open `%s'", file, Qnil);