summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-04-24 20:20:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-04-24 20:20:21 (GMT)
commitaafee79e9f34137b3db11e9e76aeb604446c31b7 (patch)
treeadc7dbc485d6a474c8ec1ac056d021ec86d70f1e /java/src/jni
parent6fac0de1582f9b8f9a85893cd269a86203b7fc41 (diff)
downloadhdf5-aafee79e9f34137b3db11e9e76aeb604446c31b7.zip
hdf5-aafee79e9f34137b3db11e9e76aeb604446c31b7.tar.gz
hdf5-aafee79e9f34137b3db11e9e76aeb604446c31b7.tar.bz2
Changed signature of H5PLgetsize
Diffstat (limited to 'java/src/jni')
-rw-r--r--java/src/jni/h5plImp.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/java/src/jni/h5plImp.c b/java/src/jni/h5plImp.c
index 09a1032..322d5d1 100644
--- a/java/src/jni/h5plImp.c
+++ b/java/src/jni/h5plImp.c
@@ -213,13 +213,11 @@ JNIEXPORT jint JNICALL
Java_hdf_hdf5lib_H5_H5PLsize
(JNIEnv *env, jclass clss)
{
- int retVal = -1;
-
- retVal = H5PLsize();
- if (retVal < 0)
+ unsigned int listsize = 0;
+ if (H5PLget_loading_state(&listsize) < 0) {
h5libraryError(env);
-
- return (jint)retVal;
+ }
+ return (jint)listsize;
} /* end Java_hdf_hdf5lib_H5_H5PLsize */
#ifdef __cplusplus