warning: initialization from incompatible pointer type

Original commit message from CVS:
warning: initialization from incompatible pointer type
This commit is contained in:
Benjamin Otte 2002-03-05 08:26:13 +00:00
parent 35aea80ded
commit aa7fef46d4

View file

@ -348,7 +348,7 @@ gst_thread_change_state (GstElement * element)
GList *pads = GST_ELEMENT_PADS (element);
while (pads) {
GstRealPad *peer = GST_PAD_PEER (pads->data);
GstRealPad *peer = GST_REAL_PAD (GST_PAD_PEER (pads->data));
GstElement *peerelement;
pads = g_list_next (pads);