mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-23 10:06:31 +08:00
lib/getrange.c: getrange(): Add const to pointer
Now that we have const-generic macros, we can use a const pointer. Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
040ba6a853
commit
34f431f607
@ -28,7 +28,7 @@ getrange(const char *range,
|
||||
unsigned long *min, bool *has_min,
|
||||
unsigned long *max, bool *has_max)
|
||||
{
|
||||
char *end;
|
||||
const char *end;
|
||||
|
||||
if (NULL == range)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user