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/config Cast ptr to the correct...
details: https://anonhg.NetBSD.org/src/rev/9d0e040f35fa
branches: trunk
changeset: 794800:9d0e040f35fa
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Mar 25 00:50:45 2014 +0000
description:
Cast ptr to the correct return type (_Unwind_Ptr)
diffstat:
external/gpl3/gcc/dist/libgcc/config/arm/pr-support.c | 2 +-
external/gpl3/gcc/dist/libgcc/config/c6x/pr-support.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r b858bb48d124 -r 9d0e040f35fa external/gpl3/gcc/dist/libgcc/config/arm/pr-support.c
--- a/external/gpl3/gcc/dist/libgcc/config/arm/pr-support.c Tue Mar 25 00:00:55 2014 +0000
+++ b/external/gpl3/gcc/dist/libgcc/config/arm/pr-support.c Tue Mar 25 00:50:45 2014 +0000
@@ -366,7 +366,7 @@
/* Skip the unwind opcodes. */
ptr += (((*ptr) >> 24) & 0xff) + 1;
- return ptr;
+ return (_Unwind_Ptr) ptr;
}
diff -r b858bb48d124 -r 9d0e040f35fa external/gpl3/gcc/dist/libgcc/config/c6x/pr-support.c
--- a/external/gpl3/gcc/dist/libgcc/config/c6x/pr-support.c Tue Mar 25 00:00:55 2014 +0000
+++ b/external/gpl3/gcc/dist/libgcc/config/c6x/pr-support.c Tue Mar 25 00:50:45 2014 +0000
@@ -531,5 +531,5 @@
/* Skip the unwind opcodes. */
ptr += (((*ptr) >> 24) & 0xff) + 1;
- return ptr;
+ return (_Unwind_Ptr) ptr;
}
Home |
Main Index |
Thread Index |
Old Index