* ppc-opc.c (insert_mbe): Shift mask initializer as long.

This commit is contained in:
Alexandre Oliva 2001-03-30 07:36:27 +00:00
parent 1a5447b835
commit 3eb9799d10
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-03-30 Alexandre Oliva <aoliva@redhat.com>
* ppc-opc.c (insert_mbe): Shift mask initializer as long.
2001-03-24 Alan Modra <alan@linuxcare.com.au>
* i386-dis.c (PREGRP25): Define.

View File

@ -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)
{