lfocontrolsource: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.
This commit is contained in:
Josep Torra 2011-08-25 23:53:58 +02:00
parent 306e317ae9
commit 1ec901321f

View file

@ -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:{