Fix a compiler warning in image.c.
image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
This commit is contained in:
parent
26d504d7f3
commit
3082f6173c
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue