summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/files/patch-gst__gstbin.c
blob: edff58cedd1435846724f63f49edb08351c0425b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gst/gstbin.c.orig   Tue Apr 18 21:12:49 2006
+++ gst/gstbin.c    Tue Apr 18 21:39:56 2006
@@ -2406,7 +2406,7 @@
 {
   gint ret;
 
-  if (G_TYPE_CHECK_INSTANCE_TYPE (element, GPOINTER_TO_INT (interface))) {
+  if (G_TYPE_CHECK_INSTANCE_TYPE (element, (GType)interface)) {
     ret = 0;
   } else {
     /* we did not find the element, need to release the ref