summaryrefslogtreecommitdiffstats
path: root/src/native/almisc.c
diff options
context:
space:
mode:
authorMichael Zucchi <[email protected]>2013-01-25 15:37:49 +0100
committerXerxes Rånby <[email protected]>2013-01-25 15:37:49 +0100
commit3cf2b66e13104b372611b3a9dbb722110370a9c7 (patch)
tree070bbe4e58f4661a601259e1ddfe6e96eefb3be4 /src/native/almisc.c
parent6b86449596dabf87201d7321799a39a7b78ab692 (diff)
Bug 567 (part 1): add support for openal extensions
Imported JOAL specific parts from the patch made by Michael Zucchi. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/native/almisc.c')
-rw-r--r--src/native/almisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/almisc.c b/src/native/almisc.c
index b850a9f..c77cb0e 100644
--- a/src/native/almisc.c
+++ b/src/native/almisc.c
@@ -31,7 +31,7 @@ JNIEXPORT jlong JNICALL
Java_jogamp_openal_ALImpl_dispatch_1alGetProcAddressStatic(JNIEnv *env, jclass _unused, jstring fname, jlong procAddress) {
LPALGETPROCADDRESS ptr_alGetProcAddress;
const char* _strchars_fname = NULL;
- ALproc _res;
+ void *_res;
if ( NULL != fname ) {
_strchars_fname = (*env)->GetStringUTFChars(env, fname, (jboolean*)NULL);
if ( NULL == _strchars_fname ) {