* image.c: conform to C89 pointer rules
This commit is contained in:
parent
c45e52762b
commit
b19beacc54
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue