We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0175a1e commit 1cc7cd4Copy full SHA for 1cc7cd4
libc/src/__support/CPP/limits.h
@@ -20,7 +20,7 @@ namespace cpp {
20
21
// Some older gcc distributions don't define these for 32 bit targets.
22
#ifndef LLONG_MAX
23
-constexpr size_t LLONG_BIT_WIDTH = sizeof(long long) * 8;
+constexpr unsigned int LLONG_BIT_WIDTH = sizeof(long long) * 8;
24
constexpr long long LLONG_MAX = ~0LL ^ (1LL << (LLONG_BIT_WIDTH - 1));
25
constexpr long long LLONG_MIN = 1LL << (LLONG_BIT_WIDTH - 1);
26
constexpr unsigned long long ULLONG_MAX = ~0ULL;
0 commit comments