[FFmpeg-cvslog] r11817 - trunk/libavcodec/tiffenc.c

reimar subversion
Sat Feb 2 22:38:25 CET 2008


Author: reimar
Date: Sat Feb  2 22:38:25 2008
New Revision: 11817

Log:
Fix warning:
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression


Modified:
   trunk/libavcodec/tiffenc.c

Modified: trunk/libavcodec/tiffenc.c
==============================================================================
--- trunk/libavcodec/tiffenc.c	(original)
+++ trunk/libavcodec/tiffenc.c	Sat Feb  2 22:38:25 2008
@@ -133,7 +133,7 @@ static void add_entry1(TiffEncoderContex
                        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);
 }
 
 /**




More information about the ffmpeg-cvslog mailing list