aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/pshifter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/pshifter.c b/Alc/effects/pshifter.c
index 7411f705..9c2bb2e9 100644
--- a/Alc/effects/pshifter.c
+++ b/Alc/effects/pshifter.c
@@ -125,7 +125,7 @@ static inline ALint double2int(ALdouble d)
if(UNLIKELY(shift >= 63 || shift < -52))
return 0;
- mant = (conv.i64&U64(0xfffffffffffff)) | U64(0x10000000000000);
+ mant = (conv.i64&I64(0xfffffffffffff)) | I64(0x10000000000000);
if(LIKELY(shift < 0))
return (ALint)(mant >> -shift) * sign;
return (ALint)(mant << shift) * sign;