changeset 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 5f4bdfd1aa0e
children de5d97b6c25b
files tiffenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 }
 
 /**