diff options
Diffstat (limited to 'src/da.h')
-rw-r--r-- | src/da.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |