From d20b8bf0c14e4c5944e9749288599281da3b8c16 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 22 Aug 2003 06:04:31 +0000 Subject: [PATCH] pass NIL though ... safely --- tools/qfcc/source/expr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 719b66799..01ba3e570 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1931,6 +1931,8 @@ function_expr (expr_t *e1, expr_t *e2) i + 1, e1->e.def->name); } } else { + if (e->type == ex_nil) + convert_nil (e, t = &type_vector); //XXX largest param size if (e->type == ex_integer && options.warnings.vararg_integer) warning (e, "passing integer consant into ... function"); }