diff options
Diffstat (limited to 'Alc/backends/wasapi.cpp')
-rw-r--r-- | Alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index 8904ca3a..ba26b70c 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -87,7 +87,7 @@ namespace { /* Scales the given value using 64-bit integer math, ceiling the result. */ -inline ALint64 ScaleCeil(ALint64 val, ALint64 new_scale, ALint64 old_scale) +inline int64_t ScaleCeil(int64_t val, int64_t new_scale, int64_t old_scale) { return (val*new_scale + old_scale-1) / old_scale; } |