From eefe5e2c8ffeb3ed74bfe64b77b98149c84909ac Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Tue, 13 Sep 2022 10:40:12 +0300 Subject: [PATCH] Fix libcdsb_stack_push_many --- src/stack.c | 1 + 1 file changed, 1 insertion(+) 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*); } }