diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-27 22:02:22 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-27 22:02:22 +0100 |
commit | c71fe45ef1585fe4c492893e171d5983abc5b07c (patch) | |
tree | f682dfbbefac751bffaf670da9aa4f19a58d7277 | |
parent | typo (diff) | |
download | slibc-c71fe45ef1585fe4c492893e171d5983abc5b07c.tar.gz slibc-c71fe45ef1585fe4c492893e171d5983abc5b07c.tar.bz2 slibc-c71fe45ef1585fe4c492893e171d5983abc5b07c.tar.xz |
fix warning
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/slibc-human/machinemode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slibc-human/machinemode.c b/src/slibc-human/machinemode.c index ec03fc5..0dceddf 100644 --- a/src/slibc-human/machinemode.c +++ b/src/slibc-human/machinemode.c @@ -92,7 +92,7 @@ static mode_t bits[][] = { */ static inline int partial_symbolic(mode_t* restrict mode, mode_t* restrict mask, const char* restrict str) { -#define TEST_(S, T, V) (strstarts(str, S) && !(T & (symbols = V))) +#define TEST_(S, T, V) (strstarts(str, S) && !((T) & (symbols = (V)))) #define TEST(S, T) (TEST_(S"+", T, 1) || TEST_(S"-", T, 2) || TEST_(S"=", T, 3)) #define TESTV(T) (TEST(#T, T) ? (T |= symbols) : 0) |