mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
lfocontrolsource: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
This commit is contained in:
parent
306e317ae9
commit
1ec901321f
1 changed files with 2 additions and 1 deletions
|
@ -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:{
|
||||
|
|
Loading…
Reference in a new issue