X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Fbase%2Fcl_macros.h;h=30b819cd4b1917ba429c962d97997753760c97bc;hb=3a895e313b91bd8b23bab81d45efce63ca47cde7;hp=1679e44756d3b127d7e2cb9bf7737a0ce49fe844;hpb=94dc10d4d97cc7340b3dde8f5becad3cb2da19f5;p=cln.git diff --git a/src/base/cl_macros.h b/src/base/cl_macros.h index 1679e44..30b819c 100644 --- a/src/base/cl_macros.h +++ b/src/base/cl_macros.h @@ -110,15 +110,15 @@ // Bit number n (0<=n<32 or 0<=n<64) #ifdef HAVE_FAST_LONGLONG - #define bit(n) (1LL<<(n)) + #define bit(n) (long long)(1ULL<<(n)) #else - #define bit(n) (1L<<(n)) + #define bit(n) (long)(1UL<<(n)) #endif // Bit number n (0