summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-15 20:30:55 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-15 20:30:55 (GMT)
commitf03eb0067e88c955de35c4f1083786925ff3faab (patch)
tree2057f0582063fa55b3bf762997755ad94ee1e307
parent022171736bd77e789985b1ad44bb8bff4504036b (diff)
downloadhdf5-f03eb0067e88c955de35c4f1083786925ff3faab.zip
hdf5-f03eb0067e88c955de35c4f1083786925ff3faab.tar.gz
hdf5-f03eb0067e88c955de35c4f1083786925ff3faab.tar.bz2
[svn-r29433] Correct return value
-rw-r--r--java/src/jni/h5tImp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/jni/h5tImp.c b/java/src/jni/h5tImp.c
index 83882a0..1f587de 100644
--- a/java/src/jni/h5tImp.c
+++ b/java/src/jni/h5tImp.c
@@ -1386,9 +1386,9 @@ Java_hdf_hdf5lib_H5_H5Tis_1variable_1str(JNIEnv *env, jclass clss, jlong type_id
/*
* Class: hdf_hdf5lib_H5
* Method: H5Tget_native_type
- * Signature: (JI)I
+ * Signature: (JI)J
*/
-JNIEXPORT jint JNICALL
+JNIEXPORT jlong JNICALL
Java_hdf_hdf5lib_H5__1H5Tget_1native_1type(JNIEnv *env, jclass clss, jlong type_id, jint direction)
{
hid_t native_tid = -1;
@@ -1398,7 +1398,7 @@ Java_hdf_hdf5lib_H5__1H5Tget_1native_1type(JNIEnv *env, jclass clss, jlong type_
if (native_tid < 0)
h5libraryError(env);
- return (jint)native_tid;
+ return (jlong)native_tid;
} /* end Java_hdf_hdf5lib_H5__1H5Tget_1native_1type */
/*