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/78cf8de99606
branches: trunk
changeset: 328060:78cf8de99606
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 01fa8dfdc53f -r 78cf8de99606 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 01fa8dfdc53f -r 78cf8de99606 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