diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2009-01-23 14:56:38 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2009-01-23 14:56:38 +0000 |
commit | 750bdd572d62dde1688ba1f42d380e33c0577212 (patch) | |
tree | f77b4149bcdd873f96c1a06b1afc587947ed0293 /gas/config | |
parent | 199114c25d5f48c6f616a7b071c17553eafab61b (diff) | |
download | gdb-750bdd572d62dde1688ba1f42d380e33c0577212.zip gdb-750bdd572d62dde1688ba1f42d380e33c0577212.tar.gz gdb-750bdd572d62dde1688ba1f42d380e33c0577212.tar.bz2 |
* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
arguments to macro_build to match format.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index bc62486..dd97c63 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -5241,8 +5241,8 @@ macro (struct mips_cl_insn *ip) s = "dinsm"; fmt = "t,r,+A,+F"; } - macro_build ((expressionS *) NULL, s, fmt, treg, sreg, pos, - pos + size - 1); + macro_build ((expressionS *) NULL, s, fmt, treg, sreg, (int) pos, + (int) (pos + size - 1)); } break; @@ -7637,7 +7637,7 @@ macro2 (struct mips_cl_insn *ip) && imm_expr.X_add_number < 512) { macro_build (NULL, "seqi", "t,r,+Q", dreg, sreg, - imm_expr.X_add_number); + (int) imm_expr.X_add_number); break; } if (imm_expr.X_op == O_constant @@ -7799,7 +7799,7 @@ macro2 (struct mips_cl_insn *ip) && imm_expr.X_add_number < 512) { macro_build (NULL, "snei", "t,r,+Q", dreg, sreg, - imm_expr.X_add_number); + (int) imm_expr.X_add_number); break; } if (imm_expr.X_op == O_constant |