diff options
Diffstat (limited to 'da.h')
-rw-r--r-- | da.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,6 +113,6 @@ } while (0) #define da_foreach(a, p) \ - for (auto p = (a)->buf; p - (a)->buf < (ptrdiff_t)(a)->len; p++) + for (auto p = (a)->buf; (size_t)(p - (a)->buf) < (a)->len; p++) #endif /* !MANGO_DA_H */ |