[MPlayer-dev-eng] Fix for warnings
Daniel Egger
degger at fhm.edu
Sun Feb 24 16:40:11 CET 2002
Hija,
here's a fix for this:
In file included from mplayer.c:401:
cfg-mplayer.h:105: warning: initialization discards qualifiers from
pointer target type
cfg-mplayer.h:106: warning: initialization discards qualifiers from
pointer target type
cfg-mplayer.h:107: warning: initialization discards qualifiers from
pointer target type
cfg-mplayer.h:108: warning: initialization discards qualifiers from
pointer target type
--
Servus,
Daniel
-------------- next part --------------
Index: cfg-mplayer.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.134
diff -u -r1.134 cfg-mplayer.h
--- cfg-mplayer.h 21 Feb 2002 16:02:26 -0000 1.134
+++ cfg-mplayer.h 24 Feb 2002 15:52:39 -0000
@@ -102,10 +102,10 @@
/* Options related to audio out plugins */
struct config ao_plugin_conf[]={
- {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL},
- {"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
- {"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
- {"fout", &ao_plugin_cfg.pl_resample_fout, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
+ {"list", (void *) &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"delay", (void *) &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
+ {"format", (void *) &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
+ {"fout", (void *) &ao_plugin_cfg.pl_resample_fout, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
More information about the MPlayer-dev-eng
mailing list