aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dynarr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dynarr.h b/include/dynarr.h
index 255ab94..dcc28a6 100644
--- a/include/dynarr.h
+++ b/include/dynarr.h
@@ -48,6 +48,6 @@
} while (false)
#define da_foreach(da, p) \
- for (auto p = (da)->buf; (size_t)(p - (da)->buf) < (da)->len; p++)
+ for (auto p = (da).buf; (size_t)(p - (da).buf) < (da).len; p++)
#endif /* !MLIB_DYNARR_H */