From df2341684f173b7a1c9121bd85570ff22108ec1a Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 5 Nov 2009 14:29:12 +0200 Subject: [PATCH] ghostpad: skip type check in internal api --- gst/gstghostpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstghostpad.c b/gst/gstghostpad.c index 9cd6535d63..1af15a84f3 100644 --- a/gst/gstghostpad.c +++ b/gst/gstghostpad.c @@ -991,7 +991,7 @@ gst_ghost_pad_new_full (const gchar * name, GstPadDirection dir, if (!gst_ghost_pad_construct (ret)) goto construct_failed; - return GST_PAD (ret); + return GST_PAD_CAST (ret); construct_failed: /* already logged */