summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-08-16 22:37:08 +0200
committerJosep Torra <n770galaxy@gmail.com>2011-08-26 14:11:13 +0200
commite5d00246cf964500f39e88fc435ea9ac48bad9fc (patch)
treec0f154f68400ba5fa0f0317d6f610a4e3ef77e6c
parent11e287529d507a66d09533b25d34fe2a55b57118 (diff)
index: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
-rw-r--r--gst/gstindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstindex.c b/gst/gstindex.c
index 27d4b8b59..d168eee6c 100644
--- a/gst/gstindex.c
+++ b/gst/gstindex.c
@@ -253,7 +253,7 @@ gst_index_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case ARG_RESOLVER:
- index->method = g_value_get_enum (value);
+ index->method = (GstIndexResolverMethod) g_value_get_enum (value);
index->resolver = resolvers[index->method].resolver;
index->resolver_user_data = resolvers[index->method].user_data;
break;