diff options
author | Richard Henderson <rth@redhat.com> | 2003-05-07 15:01:37 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-05-07 15:01:37 -0700 |
commit | 9330e97701d6adfc6846c69e7225a7326dc6d53f (patch) | |
tree | 9f2beff71eb3b121f8fbc8f5316913e70820f7cf | |
parent | 796809754065abbe473fb9bb737aea1802d217d6 (diff) | |
download | gcc-9330e97701d6adfc6846c69e7225a7326dc6d53f.zip gcc-9330e97701d6adfc6846c69e7225a7326dc6d53f.tar.gz gcc-9330e97701d6adfc6846c69e7225a7326dc6d53f.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/unwind-dw2.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2dc768d..4b99681 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index 5a26d0b..f752ffe 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -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. */ |