summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-11-20 20:25:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-11-20 20:25:05 (GMT)
commite8fb73f0384940202a7ebe4a8255d9b0d2189117 (patch)
treea93c517e71065046f2f43276ac09cc46e797b715 /tools
parentf8fa4e95084a36da772bc0cadef7cf279b16d061 (diff)
downloadhdf5-e8fb73f0384940202a7ebe4a8255d9b0d2189117.zip
hdf5-e8fb73f0384940202a7ebe4a8255d9b0d2189117.tar.gz
hdf5-e8fb73f0384940202a7ebe4a8255d9b0d2189117.tar.bz2
[svn-r28423] Description:
Normalize against trunk. Tested on: MacOSX/64 10.11.1 (amazon) w/serial & parallel (h5committest not required on this branch)
Diffstat (limited to 'tools')
-rw-r--r--tools/misc/h5debug.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c
index ecfa655..aac14db 100644
--- a/tools/misc/h5debug.c
+++ b/tools/misc/h5debug.c
@@ -382,11 +382,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) {
@@ -554,14 +554,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)) {
/*