8064700: [parfait] Function Call Mismatch in jdk/src/java/desktop/unix/native/libawt_xawt/xawt/XToolkit.c
authorazvegint
Tue, 02 Dec 2014 12:45:40 +0300
changeset 28079 a0965f7bbb05
parent 28078 3e50120f4b4c
child 28080 4baf6faff689
8064700: [parfait] Function Call Mismatch in jdk/src/java/desktop/unix/native/libawt_xawt/xawt/XToolkit.c Reviewed-by: alexsch, serb
jdk/src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
--- a/jdk/src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c	Sun Nov 30 15:43:08 2014 +0300
+++ b/jdk/src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c	Tue Dec 02 12:45:40 2014 +0300
@@ -77,7 +77,7 @@
 #ifndef HEADLESS
 
 extern Display* awt_init_Display(JNIEnv *env, jobject this);
-extern void freeNativeStringArray(char **array, long length);
+extern void freeNativeStringArray(char **array, jsize length);
 extern char** stringArrayToNative(JNIEnv *env, jobjectArray array, jsize * ret_length);
 
 struct XFontPeerIDs xFontPeerIDs;