summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-21 21:36:24 +0000
committerRoland McGrath <roland@gnu.org>2005-12-21 21:36:24 +0000
commite8ebf3f2dca6a7101448968be77aab9de16f131a (patch)
tree5ee43f60eaa47585c78894f495c4f7ef4ecc6dd7 /sysdeps/generic
parent934b22a4f69afc5ca4613c187ab1bf28d7743683 (diff)
downloadglibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.tar.gz
glibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.tar.xz
glibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.zip
* sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
	* elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/unwind-dw2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/unwind-dw2.c b/sysdeps/generic/unwind-dw2.c
index 619250e614..301b53176e 100644
--- a/sysdeps/generic/unwind-dw2.c
+++ b/sysdeps/generic/unwind-dw2.c
@@ -1,6 +1,6 @@
 /* DWARF2 exception handling and frame unwind runtime interface routines.
-   Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
-   Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2000,2001,2002,2003,2005
+   	Free Software Foundation, Inc.
 
    This file is part of the GNU C Library.
 
@@ -256,7 +256,7 @@ extract_cie_info (struct dwarf_cie *cie, struct _Unwind_Context *context,
 		  _Unwind_FrameState *fs)
 {
   const unsigned char *aug = cie->augmentation;
-  const unsigned char *p = aug + strlen (aug) + 1;
+  const unsigned char *p = aug + strlen ((const char *) aug) + 1;
   const unsigned char *ret = NULL;
   _Unwind_Word utmp;