summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-08 18:41:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-08 18:41:35 (GMT)
commit502b4c206d238dff6bdca09075ffeb426a365a9e (patch)
treecbe48af2cf27d0ddb9a57d3828245b4428221320 /tools
parentc5781c8289ad4abc83073f5b53a20179169eb59c (diff)
downloadhdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.zip
hdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.tar.gz
hdf5-502b4c206d238dff6bdca09075ffeb426a365a9e.tar.bz2
[svn-r11215] Purpose:
Bug fix & code cleanup Description: Fix another bug in the file mounting code and refactor the unmount code that it is simpler. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require h5committest
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5diff_common.c2
-rw-r--r--tools/lib/h5diff.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 51ba881..691fe8a 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -131,7 +131,7 @@ void parse_input(int argc, const char* argv[], const char** fname1, const char**
printf("<-n %s> is not a valid option\n", argv[i+1] );
usage();
}
- options->count = atoi(argv[i+1]);
+ options->count = atol(argv[i+1]);
i++; /* go to next */
}
else
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h
index cdaabaa..a307cb8 100644
--- a/tools/lib/h5diff.h
+++ b/tools/lib/h5diff.h
@@ -59,7 +59,7 @@ typedef struct {
int p; /* relative error to compare*/
double percent; /* relative error value */
int n; /* count, compare up to count */
- int count; /* count value */
+ hsize_t count; /* count value */
int err_stat; /* an error ocurred (1, error, 0, no error) */
int cmn_objs; /* do we have comparable objects */
int not_cmp; /* are the objects comparable */