summaryrefslogtreecommitdiff
path: root/opcodes/m32r-desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/m32r-desc.h')
-rw-r--r--opcodes/m32r-desc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/m32r-desc.h b/opcodes/m32r-desc.h
index 575c3efa460..774891d24c4 100644
--- a/opcodes/m32r-desc.h
+++ b/opcodes/m32r-desc.h
@@ -189,7 +189,7 @@ typedef enum cgen_operand_type {
} CGEN_OPERAND_TYPE;
/* Number of operands types. */
-#define MAX_OPERANDS ((int) M32R_OPERAND_MAX)
+#define MAX_OPERANDS 26
/* Maximum number of operands referenced by any insn. */
#define MAX_OPERAND_INSTANCES 11