summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/h5diff_common.c2
1 files changed, 1 insertions, 1 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