aboutsummaryrefslogtreecommitdiff
path: root/src/vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vec.c')
-rw-r--r--src/vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec.c b/src/vec.c
index a5c2fb4..e64db9b 100644
--- a/src/vec.c
+++ b/src/vec.c
@@ -5,7 +5,7 @@
#include "../include/vec.h"
Vec _Vec_new(Arena *a, size tsize, size cap, size align) {
- assert(cap > 0);
+ assert(cap > 0, "negative cap");
Vec v = {0};
v.tsize = tsize;
v.cap = cap;