Mercurial > libavcodec.hg
diff tiffenc.c @ 6313:ce8de7773485 libavcodec
Fix warning:
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression
author | reimar |
---|---|
date | Sat, 02 Feb 2008 21:38:25 +0000 |
parents | 2b72f9bc4f06 |
children | 51a4d1e4d70a |
line wrap: on
line diff
--- 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); } /**