diff options
author | Josep Torra <n770galaxy@gmail.com> | 2011-08-25 22:42:08 +0200 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2011-08-26 14:11:14 +0200 |
commit | b26c5b99f2d93d92c5035d0be69effaef7146a52 (patch) | |
tree | 2a3693343ef4b0d1fde27be3054ee4bc8be2c364 | |
parent | b57683d258c1865f92e861c1cb8cca0bf564d841 (diff) |
value: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
-rw-r--r-- | gst/gstvalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 381716094..f2d6a566e 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); } |