mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 13:36:26 +08: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:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user