From 6be24a8a51106e373406081ecd088bd1a2db4040 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 3 May 2020 01:23:38 -0400 Subject: started windows #foreign support -- floating point not working yet--also found bug with eval EXPR_CALL --- types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'types.c') diff --git a/types.c b/types.c index 536ddf6..1001e07 100644 --- a/types.c +++ b/types.c @@ -2433,7 +2433,7 @@ static Status types_expr(Typer *tr, Expression *e) { nvarargs += nvarargs_here; --nvarargs; - long arg_out_idx = arg_out - arg_exprs; /* save and restore arg_out to prevent realloc from causing problems */ + long arg_out_idx = (long)(arg_out - arg_exprs); /* save and restore arg_out to prevent realloc from causing problems */ /* add more room (or if nvarargs_here == 0, remove room) for more varargs */ arr_set_lena(arg_exprs, narg_exprs, tr->allocr); arg_out = arg_exprs + arg_out_idx; -- cgit v1.2.3