diff options
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 4 |
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"); |