Fix libcdsb_stack_push_many

This commit is contained in:
Gregory Lirent 2022-09-13 10:40:12 +03:00
parent 828fe1caac
commit eefe5e2c8f

View File

@ -47,6 +47,7 @@ void libcdsb_stack_push_many(stack_t* x, size_t c, ...) {
n->prev = x->prev; n->prev = x->prev;
n->value = x->value; n->value = x->value;
x->prev = n; x->prev = n;
x->value = va_arg(args, void*);
} }
} }