diff --git a/src/stack.c b/src/stack.c index bdaca67..b084cbf 100644 --- a/src/stack.c +++ b/src/stack.c @@ -47,6 +47,7 @@ void libcdsb_stack_push_many(stack_t* x, size_t c, ...) { n->prev = x->prev; n->value = x->value; x->prev = n; + x->value = va_arg(args, void*); } }