Commit b19beacc authored by Paul Eggert's avatar Paul Eggert
Browse files

* image.c: conform to C89 pointer rules

parent c45e5276
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
* indent.c (compute_motion): Likewise. * indent.c (compute_motion): Likewise.
* xfont.c (xfont_decode_coding_xlfd): Likewise. * xfont.c (xfont_decode_coding_xlfd): Likewise.
* ralloc.c (resize_bloc): Likewise. * ralloc.c (resize_bloc): Likewise.
* image.c (tiff_load): Likewise.
* xml.c (make_dom, parse_region): Likewise. * xml.c (make_dom, parse_region): Likewise.
* character.c (strwidth): Make its argument const char *, not const * character.c (strwidth): Make its argument const char *, not const
unsigned char *, since more callers prefer it that way. All callers unsigned char *, since more callers prefer it that way. All callers
...@@ -6778,7 +6778,7 @@ tiff_load (struct frame *f, struct image *img) ...@@ -6778,7 +6778,7 @@ tiff_load (struct frame *f, struct image *img)
} }
/* Try to open the image file. */ /* Try to open the image file. */
tiff = fn_TIFFOpen (SDATA (file), "r"); tiff = fn_TIFFOpen (SSDATA (file), "r");
if (tiff == NULL) if (tiff == NULL)
{ {
image_error ("Cannot open `%s'", file, Qnil); image_error ("Cannot open `%s'", file, Qnil);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment