diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-26 04:29:48 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-26 04:29:48 (GMT) |
commit | d7d2db33bc8a0d6f412fb0681795c00e8e25d7d5 (patch) | |
tree | 1fa46f1e80286ea74bd8bae1d65db6bcff6ebb44 /tools | |
parent | 32f747588a2b34807f16698f6875dd7aaede241c (diff) | |
download | hdf5-d7d2db33bc8a0d6f412fb0681795c00e8e25d7d5.zip hdf5-d7d2db33bc8a0d6f412fb0681795c00e8e25d7d5.tar.gz hdf5-d7d2db33bc8a0d6f412fb0681795c00e8e25d7d5.tar.bz2 |
[svn-r27881] Merge of r27549 from trunk.
Update the file format debugging routines to match the recent changes to
the metadata cache, along with a few other cleanups and miscellaneous
enhancements.
Tested on: Ubuntu 15.04 w/ gcc 4.9.3
Diffstat (limited to 'tools')
-rw-r--r-- | tools/misc/h5debug.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c index ffaa5a5..e751bb3 100644 --- a/tools/misc/h5debug.c +++ b/tools/misc/h5debug.c @@ -379,11 +379,11 @@ main(int argc, char *argv[]) /* Build array of chunk dimensions */ ndims = (unsigned)extra; - dim[0] = extra2; + dim[0] = (uint32_t)extra2; if(ndims > 1) - dim[1] = extra3; + dim[1] = (uint32_t)extra3; if(ndims > 2) - dim[2] = extra4; + dim[2] = (uint32_t)extra4; /* Check for dimension error */ if(ndims > 3) { @@ -550,14 +550,14 @@ main(int argc, char *argv[]) */ /* Check for enough valid parameters */ - if(extra2 == 0) { - HDfprintf(stderr, "ERROR: Need list format version and number of messages in order to shared message list\n"); + if(extra == 0) { + HDfprintf(stderr, "ERROR: Need shared message header address in order to shared message list\n"); HDfprintf(stderr, "Shared message list usage:\n"); - HDfprintf(stderr, "\th5debug <filename> <shared message list address> <list format version> <number of mesages in list>\n"); + HDfprintf(stderr, "\th5debug <filename> <shared message list address> <shared message header address>\n"); HDexit(4); } /* end if */ - status = H5SM_list_debug(f, H5P_DATASET_XFER_DEFAULT, addr, stdout, 0, VCOL, (unsigned) extra, (size_t) extra2); + status = H5SM_list_debug(f, H5P_DATASET_XFER_DEFAULT, addr, stdout, 0, VCOL, (haddr_t)extra); } else if(!HDmemcmp(sig, H5EA_HDR_MAGIC, (size_t)H5_SIZEOF_MAGIC)) { /* |