Browse Source

A cast is needed when passing a value from an FLTK widget to the ChannelHandler.

master
thesloth 22 years ago
parent
commit
35ed263367
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      SpiralSound/Plugins/RingModPlugin/RingModPluginGUI.C

+ 1
- 1
SpiralSound/Plugins/RingModPlugin/RingModPluginGUI.C View File

@@ -49,7 +49,7 @@ void RingModPluginGUI::UpdateValues(SpiralPlugin *o)

inline void RingModPluginGUI::cb_Amount_i(Fl_Knob* o, void* v)
{
m_GUICH->Set("Amount",o->value());
m_GUICH->Set("Amount",(float)o->value());
}
void RingModPluginGUI::cb_Amount(Fl_Knob* o, void* v)
{ ((RingModPluginGUI*)(o->parent()))->cb_Amount_i(o,v); }

Loading…
Cancel
Save