image.c (tiff_load): Cast 3rd argument to avoid compiler warning.
This commit is contained in:
parent
204380176c
commit
9cf66cf2ea
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-10-15 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* image.c (tiff_load): Cast 3rd argument to avoid compiler warning.
|
||||
|
||||
2010-10-15 Tassilo Horn <tassilo@member.fsf.org>
|
||||
|
||||
* Makefile.in (really-oldXMenu): Fix typo in variable name that
|
||||
|
|
|
@ -6793,8 +6793,9 @@ tiff_load (struct frame *f, struct image *img)
|
|||
memsrc.len = SBYTES (specified_data);
|
||||
memsrc.index = 0;
|
||||
|
||||
/* Casting return value avoids a GCC warning on W32. */
|
||||
tiff = (TIFF *)fn_TIFFClientOpen ("memory_source", "r", &memsrc,
|
||||
/* Casting arguments return value avoids a GCC warning on W32. */
|
||||
tiff = (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