Revision: 3150
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3150&view=rev
Author: elias_naur
Date: 2008-11-22 15:00:44 +0000 (Sat, 22 Nov 2008)
Log Message:
-----------
Windows: Fixed pointer size compiler warning
Modified Paths:
--------------
trunk/LWJGL/src/native/windows/org_lwjgl_opengl_Display.c
Modified: trunk/LWJGL/src/native/windows/org_lwjgl_opengl_Display.c
===================================================================
--- trunk/LWJGL/src/native/windows/org_lwjgl_opengl_Display.c 2008-11-22 14:54:15 UTC (rev 3149)
+++ trunk/LWJGL/src/native/windows/org_lwjgl_opengl_Display.c 2008-11-22 15:00:44 UTC (rev 3150)
@@ -162,7 +162,7 @@
oneShotInitialised = true;
}
- hwnd = createWindow(WINDOWCLASSNAME, x, y, width, height, undecorated, child_window, (HWND)parent_hwnd);
+ hwnd = createWindow(WINDOWCLASSNAME, x, y, width, height, undecorated, child_window, (HWND)(INT_PTR)parent_hwnd);
return (INT_PTR)hwnd;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|