summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-03-26 12:07:54 +0200
committerYorhel <git@yorhel.nl>2012-03-26 12:07:54 +0200
commit91efcdc2c7fcf133b4761e65fec48e9e2b303319 (patch)
tree6f979bfce6b8238846744b0e7e1763d1fa1fdae3
parent26fb2015d3824caa7e8cfa8eff0db68995f3afa6 (diff)
Fixed incorrect va_arg() argument in tn_el_newv()
-rw-r--r--tanja.c2
1 files changed, 1 insertions, 1 deletions
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) {