summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-14 15:38:04 +0000
committerJim Meyering <jim@meyering.net>1997-12-14 15:38:04 +0000
commit9afbb6eec655d9e968bb248496c0337c79bf1cce (patch)
tree70144b88c190b5379522149a08a5817c9e6e7869 /src
parentef938e62d04e51bfb7549bfd385cc5dd769e202a (diff)
downloadcoreutils-9afbb6eec655d9e968bb248496c0337c79bf1cce.tar.xz
(ASSIGN_STRDUPA): Cast alloca return value to char*.
Diffstat (limited to 'src')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index 12ef6c7e9..476a0ab3e 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -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)