[FFmpeg-devel] [PATCH] Avoid-compiler-warning-unary-minus-operator-applied
Nicolas George
nicolas.george at normalesup.org
Sat Apr 14 14:22:24 CEST 2012
Le sextidi 26 germinal, an CCXX, Robert Nagy a écrit :
> Some compilers with high warning flags complain about negating unsigned
> integers.
Can you be more specific: what compilers, what flags?
> +#define AVERROR(e) (-int(e))
Does it build?
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120414/4e4d90c5/attachment.asc>
More information about the ffmpeg-devel
mailing list