From a98d9f5964dc543bdc6ca4cdf181b2d37e2cf748 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@open-xchange.com> Date: Thu, 27 May 2021 01:13:11 +0200 Subject: [PATCH] global: Fix negation with constants to match target type --- src/lib-sieve/sieve-binary-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-sieve/sieve-binary-file.c b/src/lib-sieve/sieve-binary-file.c index 644fed97a..e9d1a79ca 100644 --- a/src/lib-sieve/sieve-binary-file.c +++ b/src/lib-sieve/sieve-binary-file.c @@ -34,7 +34,7 @@ #define SIEVE_BINARY_MAGIC_OTHER_ENDIAN 0xbebafeca #define SIEVE_BINARY_ALIGN(offset) \ - (((offset) + 3) & ~3) + (((offset) + 3) & ~3U) #define SIEVE_BINARY_ALIGN_PTR(ptr) \ ((void *) SIEVE_BINARY_ALIGN(((size_t) ptr))) -- GitLab