details: https://github.com/nginx/njs/commit/78656d481141bef164eb53a749e40019f18f1aec branches: master commit: 78656d481141bef164eb53a749e40019f18f1aec user: Dmitry Volyntsev <xei...@nginx.com> date: Wed, 4 Jun 2025 22:54:54 -0700 description: Fixed constant is too large for 'long' warning on mips -mabi=n32.
Prodded by Orgad Shaneh. --- src/njs_clang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/njs_clang.h b/src/njs_clang.h index 2bd45a74..af9f3350 100644 --- a/src/njs_clang.h +++ b/src/njs_clang.h @@ -111,7 +111,7 @@ njs_leading_zeros64(uint64_t x) n = 0; - while ((x & 0x8000000000000000) == 0) { + while ((x & 0x8000000000000000ULL) == 0) { n++; x <<= 1; } _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel