diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-03-30 07:36:27 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-03-30 07:36:27 +0000 |
commit | 7f7f7604d120dbc559a1333594110d402c0c846d (patch) | |
tree | 10cf1082598ff793def4bf25f1c2a305d667493a /opcodes/ppc-opc.c | |
parent | 923037a8aa751218b01dfc5c3026c6de0b6a8ca4 (diff) | |
download | gdb-7f7f7604d120dbc559a1333594110d402c0c846d.tar.gz |
* ppc-opc.c (insert_mbe): Shift mask initializer as long.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r-- | opcodes/ppc-opc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index c8772d8015a..1ba8296c775 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -756,7 +756,7 @@ insert_mbe (insn, value, errmsg) /* me: location of last 1->0 transition */ /* count: # transitions */ - for (mx = 0, mask = 1 << 31; mx < 32; ++mx, mask >>= 1) + for (mx = 0, mask = (long) 1 << 31; mx < 32; ++mx, mask >>= 1) { if ((uval & mask) && !last) { |