1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Fix a compiler warning in image.c.

image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
This commit is contained in:
Eli Zaretskii 2011-02-01 21:46:21 +02:00
parent 26d504d7f3
commit 3082f6173c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-02-01 Eli Zaretskii <eliz@gnu.org>
* image.c (tiff_load): Avoid compiler warning in 2nd arg to
TIFFClientOpen.
2011-02-01 Jan Djärv <jan.h.d@swipnet.se>
* xsmfns.c (ice_connection_closed): Call delete_read_fd.

View File

@ -6798,7 +6798,7 @@ tiff_load (struct frame *f, struct image *img)
memsrc.len = SBYTES (specified_data);
memsrc.index = 0;
tiff = fn_TIFFClientOpen ("memory_source", "r", &memsrc,
tiff = fn_TIFFClientOpen ("memory_source", "r", (thandle_t)&memsrc,
(TIFFReadWriteProc) tiff_read_from_memory,
(TIFFReadWriteProc) tiff_write_from_memory,
tiff_seek_in_memory,