summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-06-28 16:33:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-06-28 16:33:25 (GMT)
commitc3e666e4b298a6a774a1d712524609f7aecc34c0 (patch)
treeba177a9fbefd644653c2db3b4bc6bfe25160ba35 /java
parent574941c50d9811e96c1152a6f380921e79e85aea (diff)
downloadhdf5-c3e666e4b298a6a774a1d712524609f7aecc34c0.zip
hdf5-c3e666e4b298a6a774a1d712524609f7aecc34c0.tar.gz
hdf5-c3e666e4b298a6a774a1d712524609f7aecc34c0.tar.bz2
Correct cast formatting
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 78753e2..a379e62 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 *) ptr)->p) + ptroffset);
- unsigned char *ucptr = (unsigned char*) (((hvl_t *) ptr)->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);