summaryrefslogtreecommitdiffstats
path: root/tools/h5dumptst.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dumptst.c')
-rw-r--r--tools/h5dumptst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c
index 73c5795..bededf5 100644
--- a/tools/h5dumptst.c
+++ b/tools/h5dumptst.c
@@ -1386,7 +1386,7 @@ void test_objref(void){
/* Create a dataset (inside Group1) */
dataset=H5Dcreate(group,"Dataset1",H5T_STD_U32BE,sid1,H5P_DEFAULT);
- for(tu32=(uint32_t *)wbuf,i=0; i<SPACE1_DIM1; i++)
+ for(tu32=(uint32_t *)((void*)wbuf),i=0; i<SPACE1_DIM1; i++)
*tu32++=i*3;
/* Write selection to disk */