diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2004-08-19 21:41:32 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2004-08-19 21:41:32 +0000 |
commit | ca29916b48a25dcc7a422032b63be032a1f9b6ac (patch) | |
tree | 2f25613bb466df10fd03705104e573e447f5a305 /gcc/config/s390/linux.h | |
parent | bbef13dc2b76a371788b20ba1f0697738e21d9c0 (diff) | |
download | gcc-ca29916b48a25dcc7a422032b63be032a1f9b6ac.tar.gz |
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/config/s390/linux.h')
-rw-r--r-- | gcc/config/s390/linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h index 0f51ef7d84b..9dd07c71ef3 100644 --- a/gcc/config/s390/linux.h +++ b/gcc/config/s390/linux.h @@ -191,7 +191,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA \ if (signo_ && (*signo_ == 11 || *signo_ == 7)) \ { \ - (FS)->regs.reg[33].loc.exp = regs_->psw_addr + 1; \ + (FS)->regs.reg[33].loc.exp = \ + (unsigned char *)regs_->psw_addr + 1; \ (FS)->regs.reg[32].loc.offset = \ (long)&(FS)->regs.reg[33].loc.exp - new_cfa_; \ } \ |