diff options
Diffstat (limited to 'src/gui/GraphView.cpp')
-rw-r--r-- | src/gui/GraphView.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 36c6caed..ca12e1ef 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -120,14 +120,15 @@ GraphView::process_toggled() _app->set_property(_graph->uri(), _app->uris().ingen_enabled, - _app->forge().make((bool)_process_but->get_active())); + _app->forge().make( + static_cast<bool>(_process_but->get_active()))); } void GraphView::poly_changed() { const int poly = _poly_spin->get_value_as_int(); - if (_enable_signal && poly != (int)_graph->internal_poly()) { + if (_enable_signal && poly != static_cast<int>(_graph->internal_poly())) { _app->set_property(_graph->uri(), _app->uris().ingen_polyphony, _app->forge().make(poly)); |