Fix MSVC const warnings

https://bugzilla.gnome.org/show_bug.cgi?id=774638
This commit is contained in:
Scott D Phillips 2016-11-17 10:24:08 -08:00 committed by Thibault Saunier
parent 4e45b76c09
commit 6299e1228c
2 changed files with 2 additions and 2 deletions

View file

@ -377,7 +377,7 @@ _check_field_type (GstValidatePadMonitor * monitor,
return;
}
memset (rejected_types, 0, sizeof (rejected_types));
memset ((gchar **) rejected_types, 0, sizeof (rejected_types));
va_start (var_args, field);
while ((type = va_arg (var_args, GType)) != 0) {
if (gst_structure_has_field_typed (structure, field, type)) {

View file

@ -796,7 +796,7 @@ main (int argc, gchar ** argv)
#endif
GError *err = NULL;
const gchar *scenario = NULL, *configs = NULL;
gchar *scenario = NULL, *configs = NULL;
gboolean want_help = FALSE;
gboolean list_scenarios = FALSE, inspect_action_type = FALSE;