diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-09-29 16:54:00 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-09-29 16:54:00 (GMT) |
commit | f1917f0754c21298006162c391d6725983ed8649 (patch) | |
tree | 38d11d02f409bd6b6cd4062043603c161ea5e71c | |
parent | 21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0 (diff) | |
download | hdf5-f1917f0754c21298006162c391d6725983ed8649.zip hdf5-f1917f0754c21298006162c391d6725983ed8649.tar.gz hdf5-f1917f0754c21298006162c391d6725983ed8649.tar.bz2 |
[svn-r1693] removed the last warnings from here
-rw-r--r-- | tools/h5dump.c | 6 | ||||
-rw-r--r-- | tools/h5dumptst.c | 2 | ||||
-rw-r--r-- | tools/h5ls.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index 1701022..18a030f 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -1696,10 +1696,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(";"); } @@ -1736,4 +1736,4 @@ dump_oid(hid_t oid){ printf("%d", oid); printf (" %s\n", END); indent -= COL; -}
\ No newline at end of file +} 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 */ diff --git a/tools/h5ls.c b/tools/h5ls.c index 9beb469..191445a 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -845,10 +845,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)))); } } |