diff options
Diffstat (limited to 'opcodes/crx-dis.c')
-rw-r--r-- | opcodes/crx-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c index 18b6c6d..011cd68 100644 --- a/opcodes/crx-dis.c +++ b/opcodes/crx-dis.c @@ -337,7 +337,7 @@ match_opcode (void) unsigned int mask; /* The instruction 'constant' opcode doewsn't exceed 32 bits. */ - unsigned int doubleWord = (words[1] + (words[0] << 16)) & 0xffffffff; + unsigned int doubleWord = words[1] + ((unsigned) words[0] << 16); /* Start searching from end of instruction table. */ instruction = &crx_instruction[NUMOPCODES - 2]; |