mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
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:
parent
9fb84ea7f4
commit
e2a70cb90f
1 changed files with 2 additions and 2 deletions
|
@ -427,7 +427,7 @@ gst_direct_control_binding_get_value_array (GstControlBinding * _self,
|
|||
gpointer values_)
|
||||
{
|
||||
GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self);
|
||||
gint i;
|
||||
guint i;
|
||||
gdouble *src_val;
|
||||
gboolean res = FALSE;
|
||||
GstDirectControlBindingConvertValue convert;
|
||||
|
@ -470,7 +470,7 @@ gst_direct_control_binding_get_g_value_array (GstControlBinding * _self,
|
|||
GValue * values)
|
||||
{
|
||||
GstDirectControlBinding *self = GST_DIRECT_CONTROL_BINDING (_self);
|
||||
gint i;
|
||||
guint i;
|
||||
gdouble *src_val;
|
||||
gboolean res = FALSE;
|
||||
GType type;
|
||||
|
|
Loading…
Reference in a new issue