diff options
Diffstat (limited to 'Alc/backends/alsa.cpp')
-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}; |