fix a compile warning
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 6 May 2003 21:47:28 +0000 (21:47 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 6 May 2003 21:47:28 +0000 (21:47 +0000)
Original commit message from CVS:
fix a compile warning

common
gst/gstreamer.override
gstreamer/gstreamer.override

diff --git a/common b/common
index 50879a6..ed42933 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
+Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388
index ccb54c7..8635365 100644 (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);
index ccb54c7..8635365 100644 (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);