vecdeque: Use correct index type in gst_vec_deque_drop_struct
Fixes some `-Wsign-compare` warnings. These two indices should be `gsize` like the other variables in this function. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9171>
This commit is contained in:
parent
06851d2e4c
commit
39a6ecf56a
@ -808,7 +808,7 @@ gst_vec_deque_is_empty (GstVecDeque * array)
|
||||
gboolean
|
||||
gst_vec_deque_drop_struct (GstVecDeque * array, gsize idx, gpointer p_struct)
|
||||
{
|
||||
int first_item_index, last_item_index;
|
||||
gsize first_item_index, last_item_index;
|
||||
gsize actual_idx;
|
||||
gsize elt_size;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user