From 987a81c4dec971d2a0c07d57d7935e808f7f2623 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 20 Aug 2012 12:22:00 -0700 Subject: [PATCH] Use the correct 64-bit int type for the extension functions --- OpenAL32/alSource.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 0192b5ef..77be280f 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -23,9 +23,10 @@ #include #include #include -#include "alMain.h" + #include "AL/al.h" #include "AL/alc.h" +#include "alMain.h" #include "alError.h" #include "alSource.h" #include "alBuffer.h" @@ -1231,7 +1232,7 @@ AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values } -AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64 *values) +AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *values) { ALCcontext *Context; ALsource *Source; @@ -1255,7 +1256,7 @@ AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64 ALCcontext_DecRef(Context); } -AL_API void AL_APIENTRY alGetSourcei64vSOFT(ALuint source, ALenum param, ALint64 *values) +AL_API void AL_APIENTRY alGetSourcei64vSOFT(ALuint source, ALenum param, ALint64SOFT *values) { ALCcontext *Context; ALsource *Source; -- 2.11.4.GIT