aboutsummaryrefslogtreecommitdiff
path: root/src/da.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/da.h')
-rw-r--r--src/da.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/da.h b/src/da.h
index 57b7ed1..8891971 100644
--- a/src/da.h
+++ b/src/da.h
@@ -116,6 +116,6 @@
} while (0)
#define da_foreach(a, p) \
- for (auto p = (a)->buf; (size_t)(p - (a)->buf) < (a)->len; p++)
+ for (typeof((a)->buf) p = (a)->buf; (size_t)(p - (a)->buf) < (a)->len; p++)
#endif /* !MANGO_DA_H */