diff options
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r-- | src/tool_getparam.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c index a7bcdafac..ced453192 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -1985,8 +1985,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ } { /* byte range requested */ - char *tmp_range; - tmp_range = nextarg; + const char *tmp_range = nextarg; while(*tmp_range != '\0') { if(!ISDIGIT(*tmp_range) && *tmp_range != '-' && *tmp_range != ',') { warnf(global, "Invalid character is found in given range. " |