caps: Fix compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 13:57:14 +0000 (14:57 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 13:57:14 +0000 (14:57 +0100)
gst/gstcaps.c

index 225da68..1cf0263 100644 (file)
@@ -214,7 +214,7 @@ gst_caps_new_empty (void)
 {
   GstCaps *caps;
 
-  caps = g_slice_new (GstCapsImpl);
+  caps = (GstCaps *) g_slice_new (GstCapsImpl);
 
   gst_caps_init (caps, sizeof (GstCapsImpl));