From 91efcdc2c7fcf133b4761e65fec48e9e2b303319 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 26 Mar 2012 12:07:54 +0200 Subject: Fixed incorrect va_arg() argument in tn_el_newv() --- tanja.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tanja.c b/tanja.c index 40cd4b6..79bf560 100644 --- a/tanja.c +++ b/tanja.c @@ -174,7 +174,7 @@ void tn_el_free(tn_el el) { static inline tn_el el_newv(char t, va_list *va) { if(t == TN_VT_AR || t == TN_VT_MAP) - return va_arg(va, tn_el); + return va_arg(*va, tn_el); tn_el a; a.type = t; switch(t) { -- cgit v1.2.3