Mips undefined shift fix (#1011)

This commit is contained in:
Catena cyber
2018-09-16 15:51:03 +02:00
committed by Nguyen Anh Quynh
parent 910999d396
commit 46999575fb

View File

@ -34,7 +34,7 @@
//#define MIPS_DEBUG_SIGN_EXTENSIONS
/* MIPS major opcodes */
#define MASK_OP_MAJOR(op) (op & (0x3F << 26))
#define MASK_OP_MAJOR(op) (op & (((uint32_t)0x3F) << 26))
enum {
/* indirect opcode tables */