aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-07 04:06:40 -0800
committerChris Robinson <[email protected]>2019-01-07 04:06:40 -0800
commit4d047e2bc166e8155dd9714e53efda09def2b6ef (patch)
treec4fd18bb468987043322f59a31297bf55844fda8 /Alc/effects
parent67c9cf81748422b6a96945c6e0508a61f83f12f6 (diff)
Use user-defined literals for 64-bit literals
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/pshifter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/pshifter.cpp b/Alc/effects/pshifter.cpp
index 8d82b07e..7c6fb51e 100644
--- a/Alc/effects/pshifter.cpp
+++ b/Alc/effects/pshifter.cpp
@@ -65,7 +65,7 @@ inline int double2int(double d)
if(UNLIKELY(shift >= 63 || shift < -52))
return 0;
- mant = (conv.i64&I64(0xfffffffffffff)) | I64(0x10000000000000);
+ mant = (conv.i64&0xfffffffffffff_i64) | 0x10000000000000_i64;
if(LIKELY(shift < 0))
return (ALint)(mant >> -shift) * sign;
return (ALint)(mant << shift) * sign;