summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5util.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-02-22 04:28:17 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-02-22 04:39:57 (GMT)
commit8a4371f69ae07619fa9561431b9ee9df9d5b3e47 (patch)
tree9c8ae50a21666f8b597656de2ac9f8af31cffeff /java/src/jni/h5util.c
parent342cad2a3d9a7df02be37fa258b9f577c7e7ee88 (diff)
downloadhdf5-8a4371f69ae07619fa9561431b9ee9df9d5b3e47.zip
hdf5-8a4371f69ae07619fa9561431b9ee9df9d5b3e47.tar.gz
hdf5-8a4371f69ae07619fa9561431b9ee9df9d5b3e47.tar.bz2
Minor fix in h5str_sprintf for NULL region references
Diffstat (limited to 'java/src/jni/h5util.c')
-rw-r--r--java/src/jni/h5util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c
index fce969e..10ca3f2 100644
--- a/java/src/jni/h5util.c
+++ b/java/src/jni/h5util.c
@@ -978,7 +978,7 @@ h5str_sprintf
case H5T_REFERENCE:
{
- if (h5str_is_zero(cptr, 99)) {
+ if (h5str_is_zero(cptr, typeSize)) {
if (!h5str_append(out_str, "NULL"))
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
break;