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:
James Cowgill 2025-06-03 22:11:59 +01:00 committed by GStreamer Marge Bot
parent 06851d2e4c
commit 39a6ecf56a

View File

@ -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;