* image.c: conform to C89 pointer rules

This commit is contained in:
Paul Eggert 2011-02-06 22:18:23 -08:00
parent c45e52762b
commit b19beacc54
2 changed files with 2 additions and 1 deletions

View 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

View 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);