mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
index: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
This commit is contained in:
parent
11e287529d
commit
e5d00246cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue