summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpcmd.y
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/ftpcmd.y')
-rw-r--r--libexec/ftpd/ftpcmd.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 2a8708d..05086e3 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1399,7 +1399,7 @@ yylex(void)
c = cbuf[cpos];
cbuf[cpos] = '\0';
yylval.u.i = atoi(cp);
- yylval.u.o = strtoull(cp, (char **)NULL, 10);
+ yylval.u.o = strtoull(cp, NULL, 10);
cbuf[cpos] = c;
return (NUMBER);
}
OpenPOWER on IntegriCloud