aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/newt/WindowsWindow.c
diff options
context:
space:
mode:
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;
}