aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
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/backends
parent67c9cf81748422b6a96945c6e0508a61f83f12f6 (diff)
Use user-defined literals for 64-bit literals
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/alsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp
index aee9c1d3..33b3ae49 100644
--- a/Alc/backends/alsa.cpp
+++ b/Alc/backends/alsa.cpp
@@ -695,7 +695,7 @@ ALCboolean AlsaPlayback::reset()
bool allowmmap{!!GetConfigValueBool(mDevice->DeviceName.c_str(), "alsa", "mmap", 1)};
ALuint periods{mDevice->NumUpdates};
- ALuint periodLen{static_cast<ALuint>(mDevice->UpdateSize * U64(1000000) / mDevice->Frequency)};
+ ALuint periodLen{static_cast<ALuint>(mDevice->UpdateSize * 1000000_u64 / mDevice->Frequency)};
ALuint bufferLen{periodLen * periods};
ALuint rate{mDevice->Frequency};