From: Josep Torra Date: Thu, 25 Aug 2011 20:42:08 +0000 (+0200) Subject: value: explicitly cast to the enum type X-Git-Tag: RELEASE-0.10.36~187 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b26c5b99f2d93d92c5035d0be69effaef7146a52;p=platform%2Fupstream%2Fgstreamer.git value: explicitly cast to the enum type Fixes warning #188: enumerated type mixed with another type reported by ICC. --- diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 3817160..f2d6a56 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -2388,7 +2388,7 @@ gst_value_serialize_enum (const GValue * value) if (G_UNLIKELY (en == NULL && G_VALUE_TYPE (value) == GST_TYPE_FORMAT)) { const GstFormatDefinition *format_def; - format_def = gst_format_get_details (g_value_get_enum (value)); + format_def = gst_format_get_details ((GstFormat) g_value_get_enum (value)); g_return_val_if_fail (format_def != NULL, NULL); return g_strdup (format_def->description); }