2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-22 19:11:18 +08:00

(do_include): Cast alloca's value.

From-SVN: r9659
This commit is contained in:
Richard Kenner 1995-05-12 16:03:37 -04:00
parent fc55cc66b2
commit 5583c64f59

@ -4573,8 +4573,8 @@ get_filename:
if (searchptr->fname[0] == 0)
continue;
p = alloca (strlen (searchptr->fname)
+ strlen (fname) + 2);
p = (char *) alloca (strlen (searchptr->fname)
+ strlen (fname) + 2);
strcpy (p, searchptr->fname);
strcat (p, "/");
strcat (p, fname);