From 443130c4cf198a4b63d5f9a15b83059cb3ec5bbd Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 3 Jul 2016 22:33:21 +0200 Subject: [PATCH] dsound: Mark a multiplication factor as float. Signed-off-by: Detlef Riekenberg Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/dsound/dsound_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dsound/dsound_convert.c b/dlls/dsound/dsound_convert.c index d9ed637d49c..0c9a34baf9c 100644 --- a/dlls/dsound/dsound_convert.c +++ b/dlls/dsound/dsound_convert.c @@ -224,7 +224,7 @@ void put_surround512stereo(const IDirectSoundBufferImpl *dsb, DWORD pos, DWORD c break; case 0: /* front left */ - value *= 0.503; /* 1 / (sum of left volumes) */ + value *= 0.503f; /* 1 / (sum of left volumes) */ dsb->put_aux(dsb, pos, 0, value); break;