diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-03-01 17:48:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-03-01 17:48:41 (GMT) |
commit | e836bfd01011cd3b669f107a18980b5d1335d794 (patch) | |
tree | d9f6362537c16e3af93e63b3183c180b977ca401 /java | |
parent | c9c8ec5f7c64c3cdb746c4d15084a7f524ea2998 (diff) | |
download | hdf5-e836bfd01011cd3b669f107a18980b5d1335d794.zip hdf5-e836bfd01011cd3b669f107a18980b5d1335d794.tar.gz hdf5-e836bfd01011cd3b669f107a18980b5d1335d794.tar.bz2 |
[svn-r29247] Fix return type
Diffstat (limited to 'java')
-rw-r--r-- | java/src/jni/h5tImp.c | 6 | ||||
-rw-r--r-- | java/src/jni/h5tImp.h | 4 |
2 files changed, 5 insertions, 5 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 */ /* diff --git a/java/src/jni/h5tImp.h b/java/src/jni/h5tImp.h index f9e6985..9755a91 100644 --- a/java/src/jni/h5tImp.h +++ b/java/src/jni/h5tImp.h @@ -498,9 +498,9 @@ JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Tis_1variable_1str /* * Class: hdf_hdf5lib_H5 * Method: H5Tget_native_type - * Signature: (JI)I + * Signature: (JI)J */ -JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5__1H5Tget_1native_1type +JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5__1H5Tget_1native_1type (JNIEnv *, jclass, jlong, jint); /* |