diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-10 21:46:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-10 21:46:38 (GMT) |
commit | c5c4e70311882501516f8ce15d7c97f0be0ad1d8 (patch) | |
tree | 019f34572c3ff77a121c2bcd09672edd7e02f044 /tools/h5dump.c | |
parent | 8e20f98805d784a57afdaf73012d96a6ea1f1a30 (diff) | |
download | hdf5-c5c4e70311882501516f8ce15d7c97f0be0ad1d8.zip hdf5-c5c4e70311882501516f8ce15d7c97f0be0ad1d8.tar.gz hdf5-c5c4e70311882501516f8ce15d7c97f0be0ad1d8.tar.bz2 |
[svn-r3265] Purpose:
Clean up warnings.
Description:
Cleaned up a few compiler warnings.
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r-- | tools/h5dump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index b5a7b7c..a1e2fca 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -841,7 +841,8 @@ static herr_t dump_selected_attr(hid_t loc_id, const char *name) { int j; - char *obj_name, *attr_name; + char *obj_name; + const char *attr_name; hid_t oid, attr_id, type, space; H5G_stat_t statbuf; @@ -1708,7 +1709,7 @@ main(int argc, const char *argv[]) h5tools_init(); /* this will be plenty big enough for holding the info */ - hand = calloc(argc, sizeof(struct handler_t)); + hand = calloc((size_t)argc, sizeof(struct handler_t)); /* parse command line options */ while ((opt = get_option(argc, argv, s_opts, l_opts)) != EOF) { |