From 5afc24191ba394b5168501c939efc6ef5734923c Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Mon, 22 Nov 2021 12:30:25 +1100 Subject: [PATCH] Fix a warning about order of operations. --- compat/getgrent_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/getgrent_r.c b/compat/getgrent_r.c index c5ea69d..0bd5295 100644 --- a/compat/getgrent_r.c +++ b/compat/getgrent_r.c @@ -39,7 +39,7 @@ #include #define ALIGNBYTES (sizeof(uintptr_t) - 1) -#define ALIGN(p)(((uintptr_t)(p) + ALIGNBYTES & ~ALIGNBYTES)) +#define ALIGN(p)((((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES)) static unsigned atou(char **s) { unsigned x;