changeset 2566:c57fd8226c8c

Fixed constant is too large for 'long' warning on mips -mabi=n32. Prodded by Orgad Shaneh.
author Dmitry Volyntsev <xeioex@nginx.com>
date Wed, 04 Jun 2025 22:54:54 -0700
parents 53dee29bb431
children 4e621b3f013e
files src/njs_clang.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/njs_clang.h	Mon Jun 02 19:08:27 2025 -0700
+++ b/src/njs_clang.h	Wed Jun 04 22:54:54 2025 -0700
@@ -111,7 +111,7 @@
 
     n = 0;
 
-    while ((x & 0x8000000000000000) == 0) {
+    while ((x & 0x8000000000000000ULL) == 0) {
         n++;
         x <<= 1;
     }