Commit 8e33d0a9 authored by reimar's avatar reimar

Fix warning:

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11817 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 499e48c4
......@@ -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