diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-22 01:55:28 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-22 01:55:28 +0200 |
commit | 18fe83b030af00c6e51b33a1ae70509093038743 (patch) | |
tree | 0300775372dc3448978c376c61f6cb74dc3b80b1 | |
parent | 691f98c494777f0380094b9b8f60d61f936b640b (diff) |
Fix typo
-rw-r--r-- | include/dynarr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |