diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-28 08:22:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-28 08:22:35 +0000 |
commit | b19d106cdbe19272770d61fb65bd7d0099287d75 (patch) | |
tree | 28dfe4e22e13d67b09ca63e2f8582398cc864b5e /src | |
parent | 9d35e5e049ad1065e255de1ba4c7306f9d63eb88 (diff) | |
download | coreutils-b19d106cdbe19272770d61fb65bd7d0099287d75.tar.xz |
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2348,7 +2348,7 @@ gobble_file (const char *name, enum filetype type, int explicit_arg, path = (char *) name; else { - path = (char *) alloca (strlen (name) + strlen (dirname) + 2); + path = alloca (strlen (name) + strlen (dirname) + 2); attach (path, dirname, name); } @@ -3115,7 +3115,7 @@ quote_name (FILE *out, const char *name, struct quoting_options const *options, buf = smallbuf; else { - buf = (char *) alloca (len + 1); + buf = alloca (len + 1); quotearg_buffer (buf, len + 1, name, -1, options); } |