Commit e5d00246 authored by Josep Torra's avatar Josep Torra

index: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.
parent 11e28752
......@@ -253,7 +253,7 @@ gst_index_set_property (GObject * object, guint prop_id,
switch (prop_id) {
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment