Quoting Diego Biurrun (2015-03-10 21:38:48)
> All these casts do not avoid warnings, so there is no point in
> obfuscating the code.
> ---
> 
> This of course exchanges of the type
> 
>   warning: cast discards ‘const’ qualifier from pointer target type
> 
> for warnings of the type
> 
>   warning: assignment discards ‘const’ qualifier from pointer target type
> 
> so one can discuss if it's worth the trouble, but it eliminates pretty
> pointless casts.
> 

Sure why not.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to