diff options
Diffstat (limited to 'sys/libkern/strtol.c')
-rw-r--r-- | sys/libkern/strtol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/strtol.c b/sys/libkern/strtol.c index 3b613f9..ccab1ef 100644 --- a/sys/libkern/strtol.c +++ b/sys/libkern/strtol.c @@ -52,7 +52,7 @@ long strtol(nptr, endptr, base) const char *nptr; - const char **endptr; + char **endptr; int base; { const char *s = nptr; @@ -127,6 +127,6 @@ strtol(nptr, endptr, base) } else if (neg) acc = -acc; if (endptr != 0) - *endptr = (const char *)(any ? s - 1 : nptr); + *endptr = (char *)(any ? s - 1 : nptr); return (acc); } |