From: <sp...@us...> - 2011-05-11 09:50:57
|
Revision: 3529 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3529&view=rev Author: spasi Date: 2011-05-11 09:50:50 +0000 (Wed, 11 May 2011) Log Message: ----------- Pointer cast fix. Modified Paths: -------------- trunk/LWJGL/src/native/common/org_lwjgl_BufferUtils.c Modified: trunk/LWJGL/src/native/common/org_lwjgl_BufferUtils.c =================================================================== --- trunk/LWJGL/src/native/common/org_lwjgl_BufferUtils.c 2011-05-11 00:12:52 UTC (rev 3528) +++ trunk/LWJGL/src/native/common/org_lwjgl_BufferUtils.c 2011-05-11 09:50:50 UTC (rev 3529) @@ -5,5 +5,5 @@ } JNIEXPORT jlong JNICALL Java_org_lwjgl_BufferUtils_getBufferAddress(JNIEnv *env, jclass clazz, jobject buffer) { - return (uintptr_t)(*env)->GetDirectBufferAddress(env, buffer); + return (intptr_t)(*env)->GetDirectBufferAddress(env, buffer); } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |