diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-28 08:22:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-28 08:22:15 +0000 |
commit | 9d35e5e049ad1065e255de1ba4c7306f9d63eb88 (patch) | |
tree | baad5260daf7808cc12e0f3dff0d9f14fb4871b7 /src | |
parent | 8f98e0e4ddaaf6a87be975ea8e4e3a20fd3d4925 (diff) | |
download | coreutils-9d35e5e049ad1065e255de1ba4c7306f9d63eb88.tar.xz |
(ASSIGN_STRDUPA):
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h index 15c11db95..602b91278 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -615,7 +615,7 @@ enum { \ const char *s_ = (S); \ size_t len_ = strlen (s_) + 1; \ - char *tmp_dest_ = (char *) alloca (len_); \ + char *tmp_dest_ = alloca (len_); \ DEST = memcpy (tmp_dest_, (s_), len_); \ } \ while (0) |