Silence "discards qualifiers" warnings when compiling mplayer.c
commit529d1066274fc24c6a7ca5a8230c198167a5f7c0
authorUoti Urpala <uau@symbol.nonexistent.invalid>
Sat, 26 Apr 2008 08:03:12 +0000 (26 11:03 +0300)
committerUoti Urpala <uau@symbol.nonexistent.invalid>
Sat, 26 Apr 2008 08:03:12 +0000 (26 11:03 +0300)
treee773cd75f724f30fd9c18244392d89670fe4a9f0
parentfb33e286b5c23dbe8d0aeaf63cd3490bed3906e3
Silence "discards qualifiers" warnings when compiling mplayer.c

Add casts to subconfig entries in option lists to avoid the excessive
amount of "initialization discards qualifiers from pointer target
type" warnings. Also add const to the type of mpctx_get_audio_out to
eliminate a warning and make it match the type in the header (svn
r25793 had added a const to the header but not mplayer.c). Make
libmenu_vfs a table of pointers to const to eliminate another warning
plus make the table itself const.
cfg-common-opts.h
cfg-mencoder.h
cfg-mplayer.h
mplayer.c