mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Fix MSVC const warnings
https://bugzilla.gnome.org/show_bug.cgi?id=774638
This commit is contained in:
parent
4e45b76c09
commit
6299e1228c
2 changed files with 2 additions and 2 deletions
|
@ -377,7 +377,7 @@ _check_field_type (GstValidatePadMonitor * monitor,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset (rejected_types, 0, sizeof (rejected_types));
|
memset ((gchar **) rejected_types, 0, sizeof (rejected_types));
|
||||||
va_start (var_args, field);
|
va_start (var_args, field);
|
||||||
while ((type = va_arg (var_args, GType)) != 0) {
|
while ((type = va_arg (var_args, GType)) != 0) {
|
||||||
if (gst_structure_has_field_typed (structure, field, type)) {
|
if (gst_structure_has_field_typed (structure, field, type)) {
|
||||||
|
|
|
@ -796,7 +796,7 @@ main (int argc, gchar ** argv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
const gchar *scenario = NULL, *configs = NULL;
|
gchar *scenario = NULL, *configs = NULL;
|
||||||
gboolean want_help = FALSE;
|
gboolean want_help = FALSE;
|
||||||
gboolean list_scenarios = FALSE, inspect_action_type = FALSE;
|
gboolean list_scenarios = FALSE, inspect_action_type = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue