mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
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
This commit is contained in:
parent
6c51fd3f2b
commit
6be4042c52
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user