Fix compile time warning message

From-SVN: r34947
This commit is contained in:
Nick Clifton 2000-07-10 20:25:56 +00:00 committed by Nick Clifton
parent 46d3a87396
commit 14e7eabd24
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-07-10 Nick Clifton <nickc@cygnus.com>
* libgcc2.c (next_stack_level): Cast result of computation to
(void **) so that the assignment doe snot generate a warning.
2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
* flags.h : Add new variable flag_single_precision_constant.

View File

@ -3712,8 +3712,8 @@ next_stack_level (void *pc, frame_state *udata, frame_state *caller_udata)
else
caller_udata->cfa = udata->cfa;
if (caller_udata->indirect)
caller_udata->cfa = *(word_type *)((unsigned char *)caller_udata->cfa
+ caller_udata->base_offset);
caller_udata->cfa = * (void **) ((unsigned char *)caller_udata->cfa
+ caller_udata->base_offset);
caller_udata->cfa += caller_udata->cfa_offset;
return caller_udata;