diff options
Diffstat (limited to 'sys/libkern/strtoul.c')
-rw-r--r-- | sys/libkern/strtoul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/strtoul.c b/sys/libkern/strtoul.c index 0f7e703..78a70e2 100644 --- a/sys/libkern/strtoul.c +++ b/sys/libkern/strtoul.c @@ -52,7 +52,7 @@ unsigned long strtoul(nptr, endptr, base) const char *nptr; - const char **endptr; + char **endptr; int base; { const char *s = nptr; @@ -106,6 +106,6 @@ strtoul(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); } |