Browse Source

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

master
thesloth 22 years ago
parent
commit
d5710518a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      SpiralSound/Plugins/WaveTablePlugin/WaveTablePluginGUI.C

+ 1
- 1
SpiralSound/Plugins/WaveTablePlugin/WaveTablePluginGUI.C View File

@@ -475,7 +475,7 @@ void WaveTablePluginGUI::cb_InvSine(Fl_Check_Button* o, void* v)
inline void WaveTablePluginGUI::cb_ModAmount_i(Fl_Knob* o, void* v)
{
char str[10];
m_GUICH->Set("ModAmount",o->value());
m_GUICH->Set("ModAmount",(float)o->value());
sprintf(str,"%4.0f %%", 100*o->value());
m_out_mod->value(str);
}


Loading…
Cancel
Save