mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
fix a compile warning
Original commit message from CVS: fix a compile warning
This commit is contained in:
parent
57f2b067a5
commit
7a17f8aae8
3 changed files with 3 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
|
||||
Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388
|
|
@ -448,7 +448,7 @@ _wrap_gst_props_entry_get_list(PyObject *self)
|
|||
list = NULL;
|
||||
ret = gst_props_entry_get_list(pyg_boxed_get(self, GstPropsEntry), &list);
|
||||
if (ret == TRUE) {
|
||||
tuple = PyTuple_New(g_list_length(list));
|
||||
tuple = PyTuple_New(g_list_length((GList *) list));
|
||||
for (i = 0; list != NULL; i++, list = g_list_next(list)) {
|
||||
obj = pyg_boxed_new(GST_TYPE_PROPS_ENTRY, list->data, TRUE, TRUE);
|
||||
PyTuple_SET_ITEM(tuple, i, obj);
|
||||
|
|
|
@ -448,7 +448,7 @@ _wrap_gst_props_entry_get_list(PyObject *self)
|
|||
list = NULL;
|
||||
ret = gst_props_entry_get_list(pyg_boxed_get(self, GstPropsEntry), &list);
|
||||
if (ret == TRUE) {
|
||||
tuple = PyTuple_New(g_list_length(list));
|
||||
tuple = PyTuple_New(g_list_length((GList *) list));
|
||||
for (i = 0; list != NULL; i++, list = g_list_next(list)) {
|
||||
obj = pyg_boxed_new(GST_TYPE_PROPS_ENTRY, list->data, TRUE, TRUE);
|
||||
PyTuple_SET_ITEM(tuple, i, obj);
|
||||
|
|
Loading…
Reference in a new issue