Cast alloca return value for char *

From-SVN: r15837
This commit is contained in:
Michael Meissner 1997-10-03 19:51:50 +00:00
parent c44e099f65
commit d8d64559de
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
* flow.c (print_rtl_with_bb): Cast alloca return value for
in_bb_p.
Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
* i386.h (RETURN_ADDR_RTX): New definition that works for

View File

@ -2878,7 +2878,7 @@ print_rtl_with_bb (outf, rtx_first)
int max_uid = get_max_uid ();
int *start = (int *) alloca (max_uid * sizeof (int));
int *end = (int *) alloca (max_uid * sizeof (int));
char *in_bb_p = alloca (max_uid * sizeof (enum bb_state));
char *in_bb_p = (char *) alloca (max_uid * sizeof (enum bb_state));
for (i = 0; i < max_uid; i++)
{