summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 16:08:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 16:08:27 (GMT)
commit8bb096b6977a90df82ca3d32287aa2a7abeb5510 (patch)
treec63e215da154603f99afff0b9d9b31149a9c2e5c /test/h5test.c
parentc0c4219b5084ebcbcfe56bb807ece294f2f4f4aa (diff)
downloadhdf5-8bb096b6977a90df82ca3d32287aa2a7abeb5510.zip
hdf5-8bb096b6977a90df82ca3d32287aa2a7abeb5510.tar.gz
hdf5-8bb096b6977a90df82ca3d32287aa2a7abeb5510.tar.bz2
[svn-r5675] Purpose:
Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 748211f..fbd1857 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -539,7 +539,7 @@ h5_fileaccess(void)
memset(memb_map, 0, sizeof memb_map);
memset(memb_fapl, 0, sizeof memb_fapl);
- memset((void*)(&memb_name[0]), 0, sizeof memb_name);
+ memset(memb_name, 0, sizeof memb_name);
memset(memb_addr, 0, sizeof memb_addr);
assert(strlen(multi_letters)==H5FD_MEM_NTYPES);
@@ -782,7 +782,7 @@ h5_dump_info_object(MPI_Info info)
int flag;
int i, nkeys;
- printf("Dumping MPI Info Object(%d) (up to %d bytes per item):\n", info,
+ printf("Dumping MPI Info Object(%d) (up to %d bytes per item):\n", (int)info,
MPI_MAX_INFO_VAL);
if (info==MPI_INFO_NULL){
printf("object is MPI_INFO_NULL\n");