diff options
author | Jim Meyering <jim@meyering.net> | 1997-12-14 15:38:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-12-14 15:38:04 +0000 |
commit | 9afbb6eec655d9e968bb248496c0337c79bf1cce (patch) | |
tree | 70144b88c190b5379522149a08a5817c9e6e7869 /src | |
parent | ef938e62d04e51bfb7549bfd385cc5dd769e202a (diff) | |
download | coreutils-9afbb6eec655d9e968bb248496c0337c79bf1cce.tar.xz |
(ASSIGN_STRDUPA): Cast alloca return value to char*.
Diffstat (limited to 'src')
-rw-r--r-- | src/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ { \ const char *s_ = (S); \ size_t len_ = strlen (s_) + 1; \ - char *tmp_dest_ = alloca (len_); \ + char *tmp_dest_ = (char *) alloca (len_); \ DEST = memcpy (tmp_dest_, (s_), len_); \ } \ while (0) |