diff --git a/src/gui/instrument/LfoGraph.cpp b/src/gui/instrument/LfoGraph.cpp index 470bea51079..76670823761 100644 --- a/src/gui/instrument/LfoGraph.cpp +++ b/src/gui/instrument/LfoGraph.cpp @@ -96,7 +96,7 @@ void LfoGraph::paintEvent(QPaintEvent*) { float value = 0.0; float currentSample = x * framesForGraph / lfoGraphWidth; - const f_cnt_t sampleAsFrameCount = static_cast(currentSample); + const auto sampleAsFrameCount = static_cast(currentSample); if (sampleAsFrameCount > predelayFrames) { const float phase = (currentSample -= predelayFrames) / oscFrames;