[MPlayer-dev-eng] [PATCH] remove a bunch of const qualifiers to get rid of compiler warnings

Andrew Savchenko bircoph at gmail.com
Wed May 6 00:11:25 CEST 2009


On Wednesday 06 May 2009, Andrew Savchenko wrote:
[...]
> > Is there a solution that gets rid of the warnings?
>
> It's obvious: to fix the code. Perhaps in some places objects in
> question are indeed non-constant, perhaps gcc bugs shows up
> somewhere. Each single group should be reviewed separately.

Example fix :) for m_config.c: const char* was assigned to char* 
without cast.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_config.c-qualifiers.patch
Type: text/x-diff
Size: 405 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090506/455f1736/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090506/455f1736/attachment.pgp>


More information about the MPlayer-dev-eng mailing list