warning: initialization from incompatible pointer type
authorBenjamin Otte <otte@gnome.org>
Tue, 5 Mar 2002 08:26:13 +0000 (08:26 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 5 Mar 2002 08:26:13 +0000 (08:26 +0000)
Original commit message from CVS:
warning: initialization from incompatible pointer type

gst/gstthread.c

index ae29844..fb54425 100644 (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);