diff options
author | Roland McGrath <roland@gnu.org> | 2005-12-21 21:36:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-12-21 21:36:24 +0000 |
commit | e8ebf3f2dca6a7101448968be77aab9de16f131a (patch) | |
tree | 5ee43f60eaa47585c78894f495c4f7ef4ecc6dd7 /sysdeps/generic/unwind-dw2.c | |
parent | 934b22a4f69afc5ca4613c187ab1bf28d7743683 (diff) | |
download | glibc-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/unwind-dw2.c')
-rw-r--r-- | sysdeps/generic/unwind-dw2.c | 6 |
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; |