From 4a01eb09d82067c2e9299279aa2141ad87b75d5d Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 19 Dec 2009 22:41:26 +0100 Subject: use vpushv in some places --- tccpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccpe.c') diff --git a/tccpe.c b/tccpe.c index be92129..536f4cd 100644 --- a/tccpe.c +++ b/tccpe.c @@ -1620,7 +1620,7 @@ ST_FUNC int pe_dllimport(int r, SValue *sv, void (*fn)(int r, SValue *sv)) sv->sym->type.t = t & ~VT_IMPORT; //printf("import %x %04x %s\n", t, ind, get_tok_str(sv->sym->v, NULL)); - *++vtop = *sv; + vpushv(sv); vtop->type.t &= ~(VT_ARRAY|VT_IMPORT); mk_pointer(&vtop->type); indir(); -- cgit v1.3.1