From b01d4d45890d1d6ca668e46acb563344f206e493 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 24 Aug 2003 20:38:32 +0000 Subject: [PATCH] get the type for the destination from the right place (hope that wasn't a bugfix for something else:) --- tools/qfcc/source/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/emit.c b/tools/qfcc/source/emit.c index 87479f2bc..27529e518 100644 --- a/tools/qfcc/source/emit.c +++ b/tools/qfcc/source/emit.c @@ -493,7 +493,7 @@ emit_sub_expr (expr_t *e, def_t *dest) dest->users += 2; } op = opcode_find (operator, def_a->type, def_b->type, - e->e.expr.type); + dest->type); d = emit_statement (e, op, def_a, def_b, dest); break; case ex_uexpr: