[0.11] gstreamer: caps: Fix compiler warning

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Jan 26 05:57:28 PST 2012


Module: gstreamer
Branch: 0.11
Commit: a7b96d0503ce00e42bcbd402e1ee44689a960368
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=a7b96d0503ce00e42bcbd402e1ee44689a960368

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu Jan 26 14:57:14 2012 +0100

caps: Fix compiler warning

---

 gst/gstcaps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gstcaps.c b/gst/gstcaps.c
index 225da68..1cf0263 100644
--- a/gst/gstcaps.c
+++ b/gst/gstcaps.c
@@ -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));
 



More information about the gstreamer-commits mailing list