aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-20 12:22:00 -0700
committerChris Robinson <[email protected]>2012-08-20 12:22:00 -0700
commit987a81c4dec971d2a0c07d57d7935e808f7f2623 (patch)
treeade9149403efc85dcc0c7fb12313df5371e612d8
parentf5e0500df4ce3852ffaece6bb916c294ed17f525 (diff)
Use the correct 64-bit int type for the extension functions
-rw-r--r--OpenAL32/alSource.c7
1 files 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 <stdlib.h>
#include <math.h>
#include <float.h>
-#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;