tree-wide: use PTR_SUB1() at two places where appropriate
This commit is contained in:
committed by
Yu Watanabe
parent
50996f04ad
commit
3e3ee42072
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user