]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 623163859405432eeddeff2135d5dc9bf1947465..24ec9ce43cd0b9497c91f800e131364c270c9d87 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 314849ef750c782a94f3d8e7480d0a6e5e4ab118..c7820c3a7febd3db61805a982a6a5b44d2030875 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);