From: Jim Meyering Date: Sun, 28 Sep 2003 08:20:52 +0000 (+0000) Subject: Remove unnecessary cast of alloca, since now it's guaranteed to be (void *). X-Git-Tag: v5.1.0~521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9691f1611e8452001007d29109143c331b0cccf5;p=thirdparty%2Fcoreutils.git Remove unnecessary cast of alloca, since now it's guaranteed to be (void *). --- diff --git a/src/join.c b/src/join.c index b4d1cbb86d..694a18e5a4 100644 --- a/src/join.c +++ b/src/join.c @@ -685,7 +685,7 @@ add_field_list (const char *c_str) char *p, *str; /* Make a writable copy of c_str. */ - str = (char *) alloca (strlen (c_str) + 1); + str = alloca (strlen (c_str) + 1); strcpy (str, c_str); p = str;