projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75540fe
)
(main): Cast alloca result to char * to avoid warning.
author
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 22 Dec 1993 19:25:04 +0000
(11:25 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 22 Dec 1993 19:25:04 +0000
(11:25 -0800)
From-SVN: r6268
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index c2c9f9ec54a6cdad54fcd5e4238856809255c364..ba1c1293a40bb77ef8fdf9b9648b99e976b606b8 100644
(file)
--- 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. */