|
From: <eli...@us...> - 2006-10-30 15:49:20
|
Revision: 2619
http://svn.sourceforge.net/java-game-lib/?rev=2619&view=rev
Author: elias_naur
Date: 2006-10-30 07:49:02 -0800 (Mon, 30 Oct 2006)
Log Message:
-----------
Windows: Fix compiler warning
Modified Paths:
--------------
trunk/LWJGL/src/native/windows/org_lwjgl_opengl_WindowsPeerInfo.c
Modified: trunk/LWJGL/src/native/windows/org_lwjgl_opengl_WindowsPeerInfo.c
===================================================================
--- trunk/LWJGL/src/native/windows/org_lwjgl_opengl_WindowsPeerInfo.c 2006-10-30 15:46:42 UTC (rev 2618)
+++ trunk/LWJGL/src/native/windows/org_lwjgl_opengl_WindowsPeerInfo.c 2006-10-30 15:49:02 UTC (rev 2619)
@@ -61,5 +61,5 @@
JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WindowsPeerInfo_nGetHwnd(JNIEnv *env, jclass unused, jobject peer_info_handle) {
WindowsPeerInfo *peer_info = (WindowsPeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle);
- return peer_info->u.hwnd;
+ return (intptr_t)peer_info->u.hwnd;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|