summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpcmd.y
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-08-18 17:36:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-08-18 17:36:00 +0000
commita9ba31f9edba58e8d2eb3186fa29f7973be98354 (patch)
tree3e913bb3e9a45f7cf419a31b46d1014af0e5b516 /libexec/ftpd/ftpcmd.y
parent007e467646b3169a0a7dcd3d6fb612a52fdeab4b (diff)
calloc() is prototyped; do not cast result
Diffstat (limited to 'libexec/ftpd/ftpcmd.y')
-rw-r--r--libexec/ftpd/ftpcmd.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index a853b9b3ff0..fd4dd477159 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpcmd.y,v 1.59 2015/03/17 19:31:30 millert Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.60 2015/08/18 17:35:59 deraadt Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
@@ -681,7 +681,7 @@ username
password
: /* empty */
{
- $$ = (char *)calloc(1, sizeof(char));
+ $$ = calloc(1, sizeof(char));
}
| STRING
;