diff options
Diffstat (limited to 'sys/libkern/strtouq.c')
-rw-r--r-- | sys/libkern/strtouq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/strtouq.c b/sys/libkern/strtouq.c index 5877396..f8303a0 100644 --- a/sys/libkern/strtouq.c +++ b/sys/libkern/strtouq.c @@ -102,6 +102,6 @@ strtouq(const char *nptr, char **endptr, int base) } else if (neg) acc = -acc; if (endptr != 0) - *((const char **)endptr) = any ? s - 1 : nptr; + *endptr = __DECONST(char *, any ? s - 1 : nptr); return (acc); } |