Fix warning:

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

Originally committed as revision 11817 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Reimar Döffinger 17 years ago
parent 6c51fd3f2b
commit 6be4042c52
  1. 2
      libavcodec/tiffenc.c

@ -133,7 +133,7 @@ static void add_entry1(TiffEncoderContext * s,
enum TiffTags tag, enum TiffTypes type, int val){ enum TiffTags tag, enum TiffTypes type, int val){
uint16_t w = val; uint16_t w = val;
uint32_t dw= 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);
} }
/** /**

Loading…
Cancel
Save