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 14:43:54 (GMT)
commit74198be06a878b4911442c40ff029e32b17a93a8 (patch)
tree6e948da5215d65b6f0c0a6424675a08317709526 /java/src/jni/h5util.c
parent8d3cdb9e9cd08786217af848f49b82bdfcc8e162 (diff)
downloadhdf5-74198be06a878b4911442c40ff029e32b17a93a8.zip
hdf5-74198be06a878b4911442c40ff029e32b17a93a8.tar.gz
hdf5-74198be06a878b4911442c40ff029e32b17a93a8.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 7857965..5454dce 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;