diff options
Diffstat (limited to 'include')
-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]) |