Commit 6be4042c authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 6c51fd3f
......@@ -133,7 +133,7 @@ static void add_entry1(TiffEncoderContext * s,
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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment