diff --git a/src/usermod.c b/src/usermod.c index 4e03afbb6..52d9dbb72 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -304,7 +304,7 @@ struct ulong_range static struct ulong_range getulong_range(const char *str) { - char *pos; + const char *pos; unsigned long first, last; struct ulong_range result = { .first = ULONG_MAX, .last = 0 };