* image.c: conform to C89 pointer rules
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Feb 2011 06:18:23 +0000 (22:18 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Feb 2011 06:18:23 +0000 (22:18 -0800)
src/ChangeLog
src/image.c

index 6231638..24ec9ce 100644 (file)
@@ -28,6 +28,7 @@
        * indent.c (compute_motion): Likewise.
        * xfont.c (xfont_decode_coding_xlfd): Likewise.
        * ralloc.c (resize_bloc): Likewise.
+       * image.c (tiff_load): Likewise.
        * xml.c (make_dom, parse_region): Likewise.
        * character.c (strwidth): Make its argument const char *, not const
        unsigned char *, since more callers prefer it that way.  All callers
index 314849e..c7820c3 100644 (file)
@@ -6778,7 +6778,7 @@ tiff_load (struct frame *f, struct image *img)
        }
 
       /* Try to open the image file.  */
-      tiff = fn_TIFFOpen (SDATA (file), "r");
+      tiff = fn_TIFFOpen (SSDATA (file), "r");
       if (tiff == NULL)
        {
          image_error ("Cannot open `%s'", file, Qnil);