[FFmpeg-devel] [PATCH] Fix compiler warning in av_clipl_int32_c
Christina Zeeh
christina.zeeh+lists
Fri Aug 6 17:09:17 CEST 2010
Hi,
2010/8/6 M?ns Rullg?rd <mans at mansr.com>:
> Christina Zeeh <christina.zeeh+lists at gmail.com> writes:
>
>> Warning occurs with Clang and -Wshorten-64-to-32. Added an explicit
>> cast in the non-overflow case to silence the warning.
>
> Don't use that flag then.
Since this is in an inline function in libavutil/common.h, turning off
this flag would also be necessary for files that include the ffmpeg
headers, not just for building ffmpeg itself.
Regards,
Christina
More information about the ffmpeg-devel
mailing list