diff options
author | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
commit | f5e0500df4ce3852ffaece6bb916c294ed17f525 (patch) | |
tree | 36caf96a542963996a5ca5876053c228d393251c /OpenAL32/alSource.c | |
parent | 37924887e8ff84082bc948b46a664e03663ff670 (diff) |
Add a macro to help make a 64-bit value
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 8ff8a3b1..0192b5ef 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1828,7 +1828,7 @@ static ALint64 GetSourceOffset(ALsource *Source) BufferList = BufferList->next; } - return (ALint64)minu64(readPos, ((ALuint64)0x7fffffff<<32)|0xffffffff); + return (ALint64)minu64(readPos, MAKEU64(0x7fffffff,0xffffffff)); } /* GetSourceOffsets |