unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word.

* unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
        not _Unwind_Word.

From-SVN: r66581
This commit is contained in:
Richard Henderson 2003-05-07 15:01:37 -07:00 committed by Richard Henderson
parent 7968097540
commit 9330e97701
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-05-07 Richard Henderson <rth@redhat.com>
* unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
not _Unwind_Word.
2003-05-07 Zack Weinberg <zack@codesourcery.com>
* stmt.c (force_label_rtx): New function, based on logic

View File

@ -178,7 +178,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
_Unwind_Word
_Unwind_GetCFA (struct _Unwind_Context *context)
{
return (_Unwind_Word)context->cfa;
return (_Unwind_Ptr) context->cfa;
}
/* Overwrite the saved value for register REG in CONTEXT with VAL. */