summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-02-06 22:37:36 +0000
committerRoland McGrath <roland@redhat.com>1995-02-06 22:37:36 +0000
commitbbd5e695f5aec16f4d231768c1c3815de729f494 (patch)
tree8c4043b817e140b1c29d9d9c67eb364359610da5
parentf3cfccf0b81887b70c3c9d261c0c6634659e08fd (diff)
downloadgunmake-bbd5e695f5aec16f4d231768c1c3815de729f494.tar.gz
Cast results of `alloca' to `char *'.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1a76f5a..10cfff8 100644
--- a/main.c
+++ b/main.c
@@ -598,7 +598,7 @@ main (argc, argv, envp)
}
/* Now allocate a buffer big enough and fill it. */
- p = value = alloca (len);
+ p = value = (char *) alloca (len);
for (cv = command_variables; cv != 0; cv = cv->next)
{
v = cv->variable;