diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5diff/h5diff_common.c | 2 | ||||
-rw-r--r-- | tools/lib/h5diff.h | 2 |
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 */ |