+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
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,