diff --git a/java/src/jni/h5Imp.c b/java/src/jni/h5Imp.c index e744e567067..898b52ad3ed 100644 --- a/java/src/jni/h5Imp.c +++ b/java/src/jni/h5Imp.c @@ -105,7 +105,7 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5get_1libversion(JNIEnv *env, jclass clss, jintArray libversion) { jboolean libversionArrayIsCopy; - int *libversionArray = NULL; + jint *libversionArray = NULL; herr_t status = FAIL; UNUSED(clss);