summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-06 04:21:03 -0700
committerChris Robinson <[email protected]>2013-10-06 04:21:03 -0700
commit9ee3d01f6ed5748ef88a4b5992cd6be48afaf3b8 (patch)
tree636e44799fb0e8db0403397d2d872b8d0b09bfd8 /Alc
parent69e64e1ed2afad1743fd438bf386e4e98631ce9d (diff)
Use a simpler U64 macro to make 64-bit constants
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 7e137157..41880a9e 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -1426,7 +1426,7 @@ static ALint64 pulse_get_latency(ALCdevice *device)
{
if(neg)
latency = 0;
- return (ALint64)minu64(latency, MAKEU64(0x7fffffff,0xffffffff)/1000) * 1000;
+ return (ALint64)minu64(latency, U64(0x7fffffffffffffff)/1000) * 1000;
}
ERR("Failed to get stream latency!\n");
return 0;