diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 16:06:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 16:06:55 (GMT) |
commit | ea052ffd55cabca3ef756a7f44e7f3f2fa32b679 (patch) | |
tree | b7c28b9fa9d1552d5a0bcfbaba686d925d5470a5 /tools | |
parent | 29a0f3e3586080a69f0048bf79dec5e9749fcb5d (diff) | |
download | hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.zip hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.tar.gz hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.tar.bz2 |
[svn-r5674] Purpose:
Code cleanup
Description:
Removed more compiler warnings, etc.
Platforms tested:
Linux 2.2.x (eirene) w/parallel
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dumptst.c | 4 | ||||
-rw-r--r-- | tools/lib/h5tools_utils.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5dump/h5dumptst.c b/tools/h5dump/h5dumptst.c index 0fb523b..55f9d70 100644 --- a/tools/h5dump/h5dumptst.c +++ b/tools/h5dump/h5dumptst.c @@ -1029,7 +1029,7 @@ static void test_many(void) { dset1[j].a[idx[3]][idx[2]][idx[1]][idx[0]] = i0+j; dset1[j].b[idx[3]][idx[2]][idx[1]][idx[0]] = (double)(i0+j); -#if WIN32 +#ifdef WIN32 dset1[j].c[idx[3]][idx[2]][idx[1]][idx[0]] = (double)(i0+j+(signed __int64)sdim); #else dset1[j].c[idx[3]][idx[2]][idx[1]][idx[0]] = (double)(i0+j+sdim); @@ -2778,7 +2778,7 @@ void test_multi(void) HDmemset(memb_map, 0, sizeof memb_map); HDmemset(memb_fapl, 0, sizeof memb_fapl); - HDmemset((void *)(&memb_name[0]), 0, sizeof memb_name); + HDmemset(memb_name, 0, sizeof memb_name); HDmemset(memb_addr, 0, sizeof memb_addr); assert(HDstrlen(multi_letters) == H5FD_MEM_NTYPES); diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index e96ad99..675d03f 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -429,7 +429,7 @@ find_objs(hid_t group, const char *name, void *op_data) switch (statbuf.type) { case H5G_GROUP: if ((obj = H5Gopen(group, name)) >= 0) { - if (info->prefix_len < (int)(HDstrlen(info->prefix) + HDstrlen(name) + 2)) { + if (info->prefix_len < (HDstrlen(info->prefix) + HDstrlen(name) + 2)) { info->prefix_len *= 2; info->prefix = HDrealloc(info->prefix, info->prefix_len * sizeof(char)); |