aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mt-ibld.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mt-ibld.c')
-rw-r--r--opcodes/mt-ibld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/mt-ibld.c b/opcodes/mt-ibld.c
index 162800b..d5cd14e 100644
--- a/opcodes/mt-ibld.c
+++ b/opcodes/mt-ibld.c
@@ -33,6 +33,7 @@
#include "symcat.h"
#include "mt-desc.h"
#include "mt-opc.h"
+#include "cgen/basic-modes.h"
#include "opintl.h"
#include "safe-ctype.h"
@@ -681,7 +682,7 @@ mt_cgen_insert_operand (CGEN_CPU_DESC cd,
case MT_OPERAND_LOOPSIZE :
{
long value = fields->f_loopo;
- value = ((unsigned int) (value) >> (2));
+ value = ((USI) (value) >> (2));
errmsg = insert_normal (cd, value, 0, 0, 7, 8, 32, total_length, buffer);
}
break;