summaryrefslogtreecommitdiff
path: root/gcc/cccp.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-22 19:25:04 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-22 19:25:04 +0000
commitb31b48a9373f78adaea615018c4af2e9881ae49e (patch)
treeb56f42ca2b310499a029248f7795aea3961efafa /gcc/cccp.c
parentc8b778628267083af17eca0b5c1e05442fae39af (diff)
downloadgcc-b31b48a9373f78adaea615018c4af2e9881ae49e.tar.gz
(main): Cast alloca result to char * to avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r--gcc/cccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index c2c9f9ec54a..ba1c1293a40 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -1879,7 +1879,7 @@ main (argc, argv)
q = in_fname;
/* Copy remainder to mungable area. */
- p = alloca (strlen(q) + 8);
+ p = (char *) alloca (strlen(q) + 8);
strcpy (p, q);
/* Output P, but remove known suffixes. */