aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-08-19 21:41:32 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-08-19 21:41:32 +0000
commitca29916b48a25dcc7a422032b63be032a1f9b6ac (patch)
tree2f25613bb466df10fd03705104e573e447f5a305 /gcc/unwind-dw2.c
parentbbef13dc2b76a371788b20ba1f0697738e21d9c0 (diff)
downloadgcc-ca29916b48a25dcc7a422032b63be032a1f9b6ac.zip
gcc-ca29916b48a25dcc7a422032b63be032a1f9b6ac.tar.gz
gcc-ca29916b48a25dcc7a422032b63be032a1f9b6ac.tar.bz2
unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen to eliminate warning.
* unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen to eliminate warning. (linear_search_fdes): Declare p as unsigned. (binary_search_mixed_encoding_fdes): Likewise. * unwind-dw2.c (get_cie_encoding): Cast argument to strlen to eliminate warning. * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Add missing type cast. From-SVN: r86280
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 8b60b0c..3815d9f 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -262,7 +262,7 @@ extract_cie_info (const 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;