diff options
author | Chris Robinson <[email protected]> | 2019-01-07 04:06:40 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-07 04:06:40 -0800 |
commit | 4d047e2bc166e8155dd9714e53efda09def2b6ef (patch) | |
tree | c4fd18bb468987043322f59a31297bf55844fda8 /Alc/backends | |
parent | 67c9cf81748422b6a96945c6e0508a61f83f12f6 (diff) |
Use user-defined literals for 64-bit literals
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/alsa.cpp | 2 |
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}; |