Commit 9cf66cf2 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

image.c (tiff_load): Cast 3rd argument to avoid compiler warning.

parent 20438017
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,
......
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