fix a compile warning

Original commit message from CVS:
fix a compile warning
This commit is contained in:
Thomas Vander Stichele 2003-05-06 21:47:28 +00:00
parent 57f2b067a5
commit 7a17f8aae8
3 changed files with 3 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388

View file

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

View file

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