From: Paul Eggert Date: Mon, 7 Feb 2011 06:18:23 +0000 (-0800) Subject: * image.c: conform to C89 pointer rules X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~978 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b19beacc5491758e57e2afb890aa9fdd696a9e0e;p=emacs.git * image.c: conform to C89 pointer rules --- diff --git a/src/ChangeLog b/src/ChangeLog index 62316385940..24ec9ce43cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 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) } /* 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);