summaryrefslogtreecommitdiffstats
path: root/tools/h5repart.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repart.c')
-rw-r--r--tools/h5repart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repart.c b/tools/h5repart.c
index 6f6f2df..0a89143 100644
--- a/tools/h5repart.c
+++ b/tools/h5repart.c
@@ -105,7 +105,7 @@ get_size (const char *progname, int *argno, int argc, char *argv[])
off_t retval=-1;
char *suffix;
- if (isdigit (argv[*argno][2])) {
+ if (isdigit ((int)(argv[*argno][2]))) {
retval = strtol (argv[*argno]+2, &suffix, 10);
(*argno)++;
} else if (argv[*argno][2] || *argno+1>=argc) {