From aef52be4324740bdd23c29ce3aef1027357f9694 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 18 Nov 2018 08:03:22 -0800 Subject: Fix a float constant type --- Alc/alc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/alc.cpp b/Alc/alc.cpp index c7caaf19..86150794 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -2182,7 +2182,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) if(!(device->DitherDepth > 0.0f)) TRACE("Dithering disabled\n"); else - TRACE("Dithering enabled (%d-bit, %g)\n", float2int(std::log2(device->DitherDepth)+0.5)+1, + TRACE("Dithering enabled (%d-bit, %g)\n", float2int(std::log2(device->DitherDepth)+0.5f)+1, device->DitherDepth); device->LimiterState = gainLimiter; -- cgit v1.2.3