gstdirectcontrolbinding: Fix integer comparison

i is declared as gint but then compared against `n_values` guint
in the for loop below.
This commit is contained in:
Jordan Petridis 2019-10-04 20:01:46 +03:00
parent 9fb84ea7f4
commit e2a70cb90f
No known key found for this signature in database
GPG key ID: E8523968931763BE

View file

@ -427,7 +427,7 @@ gst_direct_control_binding_get_value_array (GstControlBinding * _self,
gpointer values_) gpointer values_)
{ {
GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self); GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self);
gint i; guint i;
gdouble *src_val; gdouble *src_val;
gboolean res = FALSE; gboolean res = FALSE;
GstDirectControlBindingConvertValue convert; GstDirectControlBindingConvertValue convert;
@ -470,7 +470,7 @@ gst_direct_control_binding_get_g_value_array (GstControlBinding * _self,
GValue * values) GValue * values)
{ {
GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self); GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self);
gint i; guint i;
gdouble *src_val; gdouble *src_val;
gboolean res = FALSE; gboolean res = FALSE;
GType type; GType type;