Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libgcc Cast context->ldsa to the corr...



details:   https://anonhg.NetBSD.org/src/rev/beb30baf5679
branches:  trunk
changeset: 794796:beb30baf5679
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Mar 24 22:39:06 2014 +0000

description:
Cast context->ldsa to the correct return type.

diffstat:

 external/gpl3/gcc/dist/libgcc/unwind-dw2.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 729410fcd910 -r beb30baf5679 external/gpl3/gcc/dist/libgcc/unwind-dw2.c
--- a/external/gpl3/gcc/dist/libgcc/unwind-dw2.c        Mon Mar 24 21:26:01 2014 +0000
+++ b/external/gpl3/gcc/dist/libgcc/unwind-dw2.c        Mon Mar 24 22:39:06 2014 +0000
@@ -368,7 +368,7 @@
 _Unwind_Ptr
 _Unwind_GetLanguageSpecificData (struct _Unwind_Context *context)
 {
-  return context->lsda;
+  return (_Unwind_Ptr) context->lsda;
 }
 
 _Unwind_Ptr



Home | Main Index | Thread Index | Old Index