summaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/glob.c b/bin/csh/glob.c
index e2f0f3197f2..c21c56559c0 100644
--- a/bin/csh/glob.c
+++ b/bin/csh/glob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: glob.c,v 1.20 2015/10/26 22:03:06 naddy Exp $ */
+/* $OpenBSD: glob.c,v 1.21 2015/12/22 08:18:36 mmcc Exp $ */
/* $NetBSD: glob.c,v 1.10 1995/03/21 09:03:01 cgd Exp $ */
/*-
@@ -865,7 +865,7 @@ Gcat(Char *s1, Char *s2)
gargv = xreallocarray(gargv, gargsiz, sizeof(Char *));
}
gargv[gargc] = 0;
- p = gargv[gargc - 1] = (Char *) xreallocarray(NULL, n, sizeof(Char));
+ p = gargv[gargc - 1] = xreallocarray(NULL, n, sizeof(Char));
for (q = s1; (*p++ = *q++) != '\0';)
continue;
for (p--, q = s2; (*p++ = *q++) != '\0';)