Commit 3082f617 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix a compiler warning in image.c.

 image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
parent 26d504d7
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.
......@@ -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,
......
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