summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-07 22:01:37 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-07 22:01:37 +0000
commit9d34a1844e843c7d8b54c12f75c9e8d06fdf4de0 (patch)
tree9f2beff71eb3b121f8fbc8f5316913e70820f7cf /gcc/unwind-dw2.c
parent97e0becfeeaef395a402e14bae2f54b11643bc9e (diff)
downloadgcc-9d34a1844e843c7d8b54c12f75c9e8d06fdf4de0.tar.gz
* unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
not _Unwind_Word. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66581 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 5a26d0b630e..f752ffe0f45 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. */