aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/newt/WindowsWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-11-27 03:27:17 +0000
committerSven Gothel <[email protected]>2008-11-27 03:27:17 +0000
commit62daa94704f3f5125916b81a3494d45ab0c0d09a (patch)
tree4292296ffb209dd616788eeb5bdc5c5ebe0e557e /src/native/newt/WindowsWindow.c
parent47c0b60fa9fdd1df48cad1ec999ba40c3185e28f (diff)
Newt-KD: working inc. events. Screen size can be set w/ property newt.ws.swidth newt.ws.sheight
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1807 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/native/newt/WindowsWindow.c')
-rwxr-xr-xsrc/native/newt/WindowsWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/newt/WindowsWindow.c b/src/native/newt/WindowsWindow.c
index 4abc40800..1e173372b 100755
--- a/src/native/newt/WindowsWindow.c
+++ b/src/native/newt/WindowsWindow.c
@@ -266,7 +266,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_windows_WindowsWindow_RegisterW
(*env)->ReleaseStringUTFChars(env, appName, _appName);
#endif
if (!RegisterClass(wc)) {
- free(wc->lpszClassName);
+ free((void *)wc->lpszClassName);
free(wc);
return 0;
}