mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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_)
|
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;
|
||||||
|
|
Loading…
Reference in a new issue