From b19beacc5491758e57e2afb890aa9fdd696a9e0e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 6 Feb 2011 22:18:23 -0800 Subject: [PATCH] * image.c: conform to C89 pointer rules --- src/ChangeLog | 1 + src/image.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5