summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-09-29 16:46:30 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-09-29 16:46:30 (GMT)
commit6f84d4d2c5784ba39f972fa0dcb98bdf1e796a65 (patch)
tree3ea98c4073c8181697730372e12da2a480b232f1 /tools
parentf724f3da344d91c755b2b35da8155c79912669c3 (diff)
downloadhdf5-6f84d4d2c5784ba39f972fa0dcb98bdf1e796a65.zip
hdf5-6f84d4d2c5784ba39f972fa0dcb98bdf1e796a65.tar.gz
hdf5-6f84d4d2c5784ba39f972fa0dcb98bdf1e796a65.tar.bz2
[svn-r1692] removed the last warnings from these files.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump.c4
-rw-r--r--tools/h5dumptst.c2
-rw-r--r--tools/h5ls.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index c8e7fc5..8ae0340 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1666,10 +1666,10 @@ static void print_enum(hid_t type){
}
} else if (H5T_SGN_NONE==H5Tget_sign(native)) {
printf("%"PRINTF_LL_WIDTH"u",
- *((unsigned long_long*)(value+i*dst_size)));
+ *((unsigned long_long*)((void*)(value+i*dst_size))));
} else {
printf("%"PRINTF_LL_WIDTH"d",
- *((long_long*)(value+i*dst_size)));
+ *((long_long*)((void*)(value+i*dst_size))));
}
printf(";");
}
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c
index b5ed4db..c6f7312 100644
--- a/tools/h5dumptst.c
+++ b/tools/h5dumptst.c
@@ -1385,7 +1385,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 */
diff --git a/tools/h5ls.c b/tools/h5ls.c
index cf05d39..5a86ddb 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -835,10 +835,10 @@ display_enum_type(hid_t type, int ind)
}
} else if (H5T_SGN_NONE==H5Tget_sign(native)) {
printf("%"PRINTF_LL_WIDTH"u",
- *((unsigned long_long*)(value+i*dst_size)));
+ *((unsigned long_long*)((void*)(value+i*dst_size))));
} else {
printf("%"PRINTF_LL_WIDTH"d",
- *((long_long*)(value+i*dst_size)));
+ *((long_long*)((void*)(value+i*dst_size))));
}
}