From 18fe83b030af00c6e51b33a1ae70509093038743 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 22 Apr 2024 01:55:28 +0200 Subject: Fix typo --- include/dynarr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/dynarr.h b/include/dynarr.h index 1cd17ab..255ab94 100644 --- a/include/dynarr.h +++ b/include/dynarr.h @@ -33,7 +33,7 @@ (da)->buf = bufalloc((da)->buf, (da)->cap, sizeof(*(da)->buf)); \ } \ memcpy((da)->buf + (da)->len, (xs), (n)); \ - (a)->len += (n); \ + (da)->len += (n); \ } while (false) #define DAPOP(da) ((da)->buf[--(da)->len]) -- cgit v1.2.3