diff options
Diffstat (limited to 'subopt-helper.c')
-rw-r--r-- | subopt-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subopt-helper.c b/subopt-helper.c index 32cf883b09..b0b425eab7 100644 --- a/subopt-helper.c +++ b/subopt-helper.c @@ -324,7 +324,7 @@ int int_pos( int * i ) /*** little helpers */ /** \brief compare the stings just as strcmp does */ -int strargcmp(strarg_t *arg, char *str) { +int strargcmp(strarg_t *arg, const char *str) { int res = strncmp(arg->str, str, arg->len); if (!res && arg->len != strlen(str)) res = arg->len - strlen(str); |