[MPlayer-dev-eng] [PATCH] new config parser related warning fixes (for GUI, too)

Dominik Mierzejewski dominik at rangers.eu.org
Sun Dec 29 23:40:37 CET 2002


On Sunday, 29 December 2002, Arpi wrote:
> Hi,
> 
> > These fix the following warnings:
> > 
> > Patch #1:
> > cfg.c:184: warning: passing arg 2 of `m_config_register_options' from incompatible pointer type
> > cfg.c:249: warning: passing arg 1 of `m_option_print' from incompatible pointer type
> > 
> > Patch #2:
> > mplayer.c:643: warning: passing arg 2 of `m_config_register_options' from incompatible pointer type
> > mencoder.c:397: warning: passing arg 2 of `m_config_register_options' from incompatible pointer type
> > input.c:1454: warning: passing arg 2 of `m_config_register_options' from incompatible pointer type
> > 
> > OK to commit?
> 
> not...
> 
> afaik the new config code is backward compatible to the old one, so these
> warnings shouldn't happen at all. Albeu ?

Structures are the same, but they're named differently and apparently this
causes these warnings.

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"



More information about the MPlayer-dev-eng mailing list