# HG changeset patch # User reimar # Date 1201988305 0 # Node ID ce8de7773485f613b3d9364352b3df6a9455016d # Parent 5f4bdfd1aa0efffdebd0d56bc155799ec88a5410 Fix warning: libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression diff -r 5f4bdfd1aa0e -r ce8de7773485 tiffenc.c --- a/tiffenc.c Sat Feb 02 14:34:43 2008 +0000 +++ b/tiffenc.c Sat Feb 02 21:38:25 2008 +0000 @@ -133,7 +133,7 @@ enum TiffTags tag, enum TiffTypes type, int val){ uint16_t w = val; uint32_t dw= val; - add_entry(s, tag, type, 1, type == TIFF_SHORT ? &w : &dw); + add_entry(s, tag, type, 1, type == TIFF_SHORT ? (void *)&w : (void *)&dw); } /**