diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-12-22 19:25:04 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-12-22 19:25:04 +0000 |
commit | b31b48a9373f78adaea615018c4af2e9881ae49e (patch) | |
tree | b56f42ca2b310499a029248f7795aea3961efafa /gcc/cccp.c | |
parent | c8b778628267083af17eca0b5c1e05442fae39af (diff) | |
download | gcc-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.c | 2 |
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. */ |