diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/src/jni/h5util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c index 7ca08cf..0065f80 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*) ((ptr->p) + ptroffset); - unsigned char *ucptr = (unsigned char*) ((ptr->p) + ptroffset); + char *cptr = (char*) (((hvl_t *) mem)->p) + ptroffset); + unsigned char *ucptr = (unsigned char*) (((hvl_t *) mem)->p) + ptroffset); H5T_class_t tclass = H5Tget_class(tid); size_t size = H5Tget_size(tid); H5T_sign_t nsign = H5Tget_sign(tid); |