diff --git a/libs/gamecode/pr_opcode.c b/libs/gamecode/pr_opcode.c index 77b3f6ab4..8206e1e7b 100644 --- a/libs/gamecode/pr_opcode.c +++ b/libs/gamecode/pr_opcode.c @@ -463,12 +463,12 @@ VISIBLE opcode_t pr_opcodes[] = { "%Ga, %sb, %gc", }, - {"=", "conv.if", OP_CONV_IF, false, + {"", "conv.if", OP_CONV_IF, false, ev_integer, ev_invalid, ev_float, PROG_VERSION, "%Ga, %gc", }, - {"=", "conv.fi", OP_CONV_FI, false, + {"", "conv.fi", OP_CONV_FI, false, ev_float, ev_invalid, ev_integer, PROG_VERSION, "%Ga, %gc", diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 27536584b..8e3e9e94c 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -816,7 +816,7 @@ expr_cast (sblock_t *sblock, expr_t *e, operand_t **op) operand_t *src = 0; sblock = statement_subexpr (sblock, e->e.expr.e1, &src); *op = temp_operand (e->e.expr.type); - s = new_statement ("=", e); + s = new_statement ("", e); s->opa = src; s->opc = *op; sblock_add_statement (sblock, s);