Commit 9330e977 by Richard Henderson Committed by Richard Henderson

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
parent 79680975
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> 2003-05-07 Zack Weinberg <zack@codesourcery.com>
* stmt.c (force_label_rtx): New function, based on logic * stmt.c (force_label_rtx): New function, based on logic
......
...@@ -178,7 +178,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index) ...@@ -178,7 +178,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
_Unwind_Word _Unwind_Word
_Unwind_GetCFA (struct _Unwind_Context *context) _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. */ /* Overwrite the saved value for register REG in CONTEXT with VAL. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment