Commit 1ec90132 authored by Josep Torra's avatar Josep Torra

lfocontrolsource: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.
parent 306e317a
......@@ -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:{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment