summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2014-03-24 22:39:06 +0000
committerjoerg <joerg@NetBSD.org>2014-03-24 22:39:06 +0000
commit4564265fc346b976eaa244fd13d207abcf8d5b2e (patch)
tree90dec5342e8fca7f3e66b6e2536aa194c4a8c1f7
parentf062cf65a69f465a1969c93352127e59f4d2bcc5 (diff)
Cast context->ldsa to the correct return type.
-rw-r--r--external/gpl3/gcc/dist/libgcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/gpl3/gcc/dist/libgcc/unwind-dw2.c b/external/gpl3/gcc/dist/libgcc/unwind-dw2.c
index 47a8fb9611a..0ce93c4f999 100644
--- a/external/gpl3/gcc/dist/libgcc/unwind-dw2.c
+++ b/external/gpl3/gcc/dist/libgcc/unwind-dw2.c
@@ -368,7 +368,7 @@ _Unwind_SetIP (struct _Unwind_Context *context, _Unwind_Ptr val)
_Unwind_Ptr
_Unwind_GetLanguageSpecificData (struct _Unwind_Context *context)
{
- return context->lsda;
+ return (_Unwind_Ptr) context->lsda;
}
_Unwind_Ptr