diff options
author | Chris Robinson <[email protected]> | 2018-11-18 08:03:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 08:03:22 -0800 |
commit | aef52be4324740bdd23c29ce3aef1027357f9694 (patch) | |
tree | 0d51a2775909460ae9e61781976787033685a5dc | |
parent | 8b8f01e25d31e7874acb5af7e0c3c7c801497410 (diff) |
Fix a float constant type
-rw-r--r-- | Alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |