summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-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);