diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-05-25 20:55:55 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-05-25 20:55:55 (GMT) |
commit | 618a6adb642043634ae1bf8ac012494c08a24df1 (patch) | |
tree | e641ae5f82280e7f8102333728e2b1750ba01b9e /java/src/jni/h5lImp.c | |
parent | 3261491a47abc6f397392bfdc5ab8d03675fc012 (diff) | |
download | hdf5-618a6adb642043634ae1bf8ac012494c08a24df1.zip hdf5-618a6adb642043634ae1bf8ac012494c08a24df1.tar.gz hdf5-618a6adb642043634ae1bf8ac012494c08a24df1.tar.bz2 |
Reduce warnings
Diffstat (limited to 'java/src/jni/h5lImp.c')
-rw-r--r-- | java/src/jni/h5lImp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5lImp.c b/java/src/jni/h5lImp.c index bf2d7b1..ac71845 100644 --- a/java/src/jni/h5lImp.c +++ b/java/src/jni/h5lImp.c @@ -457,7 +457,7 @@ Java_hdf_hdf5lib_H5_H5Lget_1value_1by_1idx } /* end if */ else { buf_size = infobuf.u.val_size; - if(buf_size < 0) { + if(buf_size == 0) { h5libraryError(env); } /* end if */ else { |