aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-03-30 07:36:27 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-03-30 07:36:27 +0000
commit3eb9799d10a835b6c49cd81b3b59059221276c5c (patch)
tree133d6074bb0198cda0bc0c5c3f97520451026e22 /opcodes/ppc-opc.c
parent1a5447b835010cad6ed99a3174d6ea658b9e066a (diff)
downloadgdb-3eb9799d10a835b6c49cd81b3b59059221276c5c.zip
gdb-3eb9799d10a835b6c49cd81b3b59059221276c5c.tar.gz
gdb-3eb9799d10a835b6c49cd81b3b59059221276c5c.tar.bz2
* ppc-opc.c (insert_mbe): Shift mask initializer as long.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index c8772d8..1ba8296 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)
{