From: Dmitry Volyntsev Date: Thu, 5 Jun 2025 05:54:54 +0000 (-0700) Subject: Fixed constant is too large for 'long' warning on mips -mabi=n32. X-Git-Tag: 0.9.1~30 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=78656d481141bef164eb53a749e40019f18f1aec;p=njs.git Fixed constant is too large for 'long' warning on mips -mabi=n32. Prodded by Orgad Shaneh. --- 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; }