projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e2875
)
index: explicitly cast to the enum type
author
Josep Torra
<n770galaxy@gmail.com>
Tue, 16 Aug 2011 20:37:08 +0000
(22:37 +0200)
committer
Josep Torra
<n770galaxy@gmail.com>
Fri, 26 Aug 2011 12:11:13 +0000
(14:11 +0200)
Fixes warning #188: enumerated type mixed with another type reported by ICC.
gst/gstindex.c
patch
|
blob
|
history
diff --git
a/gst/gstindex.c
b/gst/gstindex.c
index
27d4b8b
..
d168eee
100644
(file)
--- 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;