From 73066beae05381f1ce1e2ac1129fe1faceacd341 Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 25 Aug 2023 21:20:55 +0200 Subject: [PATCH] fixed broken assert --- source/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vector.c b/source/vector.c index 8628a3b..d51f267 100644 --- a/source/vector.c +++ b/source/vector.c @@ -7,7 +7,7 @@ void vector_init(vector_t * vector, size_t element_size, size_t element_count) { - assert(vector->element_size); + assert(element_size); vector->data = NULL; vector->element_size = element_size;