GUI: make clang happy

This commit is contained in:
tildearrow 2022-03-21 21:48:36 -05:00
parent cec5def347
commit bd84dc1c17

View file

@ -1745,7 +1745,7 @@ bool FurnaceGUI::loop() {
}
}
if (macroDragActive || macroLoopDragActive || waveDragActive || sampleDragActive) {
int distance=fabs(motionXrel);
int distance=fabs((double)motionXrel);
if (distance<1) distance=1;
float start=motionX-motionXrel;
float end=motionX;