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:
306e317
)
lfocontrolsource: explicitly cast to the enum type
author
Josep Torra
<n770galaxy@gmail.com>
Thu, 25 Aug 2011 21:53:58 +0000
(23:53 +0200)
committer
Josep Torra
<n770galaxy@gmail.com>
Fri, 26 Aug 2011 12:11:15 +0000
(14:11 +0200)
Fixes warning #188: enumerated type mixed with another type reported by ICC.
libs/gst/controller/gstlfocontrolsource.c
patch
|
blob
|
history
diff --git
a/libs/gst/controller/gstlfocontrolsource.c
b/libs/gst/controller/gstlfocontrolsource.c
index
f2c6d6b
..
46061e4
100644
(file)
--- a/
libs/gst/controller/gstlfocontrolsource.c
+++ b/
libs/gst/controller/gstlfocontrolsource.c
@@
-969,7
+969,8
@@
gst_lfo_control_source_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_WAVEFORM:
g_mutex_lock (self->lock);
- gst_lfo_control_source_set_waveform (self, g_value_get_enum (value));
+ gst_lfo_control_source_set_waveform (self,
+ (GstLFOWaveform) g_value_get_enum (value));
g_mutex_unlock (self->lock);
break;
case PROP_FREQUENCY:{