diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-06-28 15:42:02 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-06-28 15:42:02 (GMT) |
commit | f4b8365b326ca1f233bc3c9af546cd35f105b7c9 (patch) | |
tree | 7856f2d836a8700b165f9c88dd433caa328368b7 /java | |
parent | 792771d52a710d45a2c788a13300067734962adf (diff) | |
download | hdf5-f4b8365b326ca1f233bc3c9af546cd35f105b7c9.zip hdf5-f4b8365b326ca1f233bc3c9af546cd35f105b7c9.tar.gz hdf5-f4b8365b326ca1f233bc3c9af546cd35f105b7c9.tar.bz2 |
Need to cast from void ptr
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); |