From: Hans-Dieter K. <fs...@us...> - 2007-11-27 01:21:59
|
Update of /cvsroot/xine/xine-ui/src/xitk In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8636 Modified Files: post.c setup.c Log Message: Avoid compiler warning. Index: post.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/post.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- post.c 25 Nov 2007 03:47:22 -0000 1.63 +++ post.c 27 Nov 2007 01:22:00 -0000 1.64 @@ -676,7 +676,7 @@ cmb.skin_element_name = NULL; cmb.layer_above = (is_layer_above()); cmb.parent_wlist = pp_wrapper->pplugin->widget_list; - cmb.entries = pobj->param->enum_values; + cmb.entries = (const char **)pobj->param->enum_values; cmb.parent_wkey = &pp_wrapper->pplugin->widget_key; cmb.callback = _pplugin_set_param_int; cmb.userdata = pobj; @@ -746,7 +746,7 @@ cmb.skin_element_name = NULL; cmb.layer_above = (is_layer_above()); cmb.parent_wlist = pp_wrapper->pplugin->widget_list; - cmb.entries = (char **)(pobj->param_data + pobj->param->offset); + cmb.entries = (const char **)(pobj->param_data + pobj->param->offset); cmb.parent_wkey = &pp_wrapper->pplugin->widget_key; cmb.callback = _pplugin_set_param_stringlist; cmb.userdata = pobj; @@ -1197,7 +1197,7 @@ cmb.skin_element_name = NULL; cmb.layer_above = (is_layer_above()); cmb.parent_wlist = pp_wrapper->pplugin->widget_list; - cmb.entries = pobj->properties_names; + cmb.entries = (const char **)pobj->properties_names; cmb.parent_wkey = &pp_wrapper->pplugin->widget_key; cmb.callback = (pp_wrapper == &vpp_wrapper) ? _vpplugin_change_parameter : _applugin_change_parameter; cmb.userdata = pobj; @@ -1409,7 +1409,7 @@ cmb.skin_element_name = NULL; cmb.layer_above = (is_layer_above()); cmb.parent_wlist = pp_wrapper->pplugin->widget_list; - cmb.entries = pp_wrapper->pplugin->plugin_names; + cmb.entries = (const char **)pp_wrapper->pplugin->plugin_names; cmb.parent_wkey = &pp_wrapper->pplugin->widget_key; cmb.callback = (pp_wrapper == &vpp_wrapper) ? _vpplugin_select_filter : _applugin_select_filter; cmb.userdata = pobj; Index: setup.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/setup.c,v retrieving revision 1.107 retrieving revision 1.108 diff -u -r1.107 -r1.108 --- setup.c 25 Nov 2007 03:47:22 -0000 1.107 +++ setup.c 27 Nov 2007 01:22:00 -0000 1.108 @@ -757,7 +757,7 @@ cmb.skin_element_name = NULL; cmb.layer_above = (is_layer_above()); cmb.parent_wlist = setup->widget_list; - cmb.entries = entry->enum_values; + cmb.entries = (const char **)entry->enum_values; cmb.parent_wkey = &setup->kreg; cmb.callback = numtype_update; cmb.userdata = (void *)wt; |