tree-wide: use PTR_SUB1() at two places where appropriate

This commit is contained in:
Lennart Poettering
2022-03-23 21:57:25 +09:00
committed by Yu Watanabe
parent 50996f04ad
commit 3e3ee42072
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ bool strv_overlap(char * const *a, char * const *b) _pure_;
_len > 0 ? h + _len - 1 : NULL; \
}); \
(s = i); \
i > h ? i-- : (i = NULL))
i = PTR_SUB1(i, h))
#define STRV_FOREACH_BACKWARDS(s, l) \
_STRV_FOREACH_BACKWARDS(s, l, UNIQ_T(h, UNIQ), UNIQ_T(i, UNIQ))