From c0091572906dee0a3f0b4e4886194d7a97176a25 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 4 May 2015 17:50:44 -0500 Subject: [PATCH] Use fabs() instead of abs() --- src/Mix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mix.cpp b/src/Mix.cpp index 2f88d048d..50fc15614 100644 --- a/src/Mix.cpp +++ b/src/Mix.cpp @@ -767,7 +767,7 @@ void Mixer::SetTimesAndSpeed(double t0, double t1, double speed) wxASSERT(isfinite(speed)); mT0 = t0; mT1 = t1; - mSpeed = abs(speed); + mSpeed = fabs(speed); Reposition(t0); }