summaryrefslogtreecommitdiff
path: root/src/stdlib/strtoumax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtoumax.c')
-rw-r--r--src/stdlib/strtoumax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/strtoumax.c b/src/stdlib/strtoumax.c
index a529f6e8..f1902476 100644
--- a/src/stdlib/strtoumax.c
+++ b/src/stdlib/strtoumax.c
@@ -26,7 +26,7 @@ static const unsigned char digits[] = {
uintmax_t strtoumax(const char *s1, char **p, int base)
{
- const unsigned char *s = s1;
+ const unsigned char *s = (void *)s1;
size_t x1, z1;
uintmax_t x, z=0;
int sign = 0;