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/e6e4018c344f
branches:  trunk
changeset: 328056:e6e4018c344f
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 6b76854d39ec -r e6e4018c344f 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