diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-29 00:42:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-29 13:06:26 -0400 |
commit | cd7caae65175a8ea1149cae7dcf11948f4933d1b (patch) | |
tree | e56585acb69af18da944a721e3143c8dcccd91b3 /sim/sh/interp.c | |
parent | 80e61ea097e7a5c272e2d4f6f15a72a226779569 (diff) | |
download | fsf-binutils-gdb-cd7caae65175a8ea1149cae7dcf11948f4933d1b.zip fsf-binutils-gdb-cd7caae65175a8ea1149cae7dcf11948f4933d1b.tar.gz fsf-binutils-gdb-cd7caae65175a8ea1149cae7dcf11948f4933d1b.tar.bz2 |
sim: sh: fix a few compiler warnings
Diffstat (limited to 'sim/sh/interp.c')
-rw-r--r-- | sim/sh/interp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c index 6524503..87fb863 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -214,7 +214,7 @@ do { \ #define SET_RC(x) \ (saved_state.asregs.cregs.named.sr \ - = saved_state.asregs.cregs.named.sr & 0xf000ffff | ((x) & 0xfff) << 16) + = (saved_state.asregs.cregs.named.sr & 0xf000ffff) | ((x) & 0xfff) << 16) /* Manipulate FPSCR */ @@ -2345,7 +2345,7 @@ SIM_DESC sim_open (SIM_OPEN_KIND kind, host_callback *cb, struct bfd *abfd, char * const *argv) { - char **p; + char * const *p; int i; union { |