summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-06-28 16:02:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-06-28 16:02:40 (GMT)
commit574941c50d9811e96c1152a6f380921e79e85aea (patch)
tree6d10825f89131ddf8df82e8274ce609812a9d24c
parentf4b8365b326ca1f233bc3c9af546cd35f105b7c9 (diff)
downloadhdf5-574941c50d9811e96c1152a6f380921e79e85aea.zip
hdf5-574941c50d9811e96c1152a6f380921e79e85aea.tar.gz
hdf5-574941c50d9811e96c1152a6f380921e79e85aea.tar.bz2
Correct var name
-rw-r--r--java/src/jni/h5util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c
index 0065f80..78753e2 100644
--- a/java/src/jni/h5util.c
+++ b/java/src/jni/h5util.c
@@ -303,8 +303,8 @@ h5str_convert
char *this_str = *str;
size_t this_strlen;
int n;
- char *cptr = (char*) (((hvl_t *) mem)->p) + ptroffset);
- unsigned char *ucptr = (unsigned char*) (((hvl_t *) mem)->p) + ptroffset);
+ char *cptr = (char*) (((hvl_t *) ptr)->p) + ptroffset);
+ unsigned char *ucptr = (unsigned char*) (((hvl_t *) ptr)->p) + ptroffset);
H5T_class_t tclass = H5Tget_class(tid);
size_t size = H5Tget_size(tid);
H5T_sign_t nsign = H5Tget_sign(tid);