diff --git a/libc/src/__support/CPP/bit.h b/libc/src/__support/CPP/bit.h index 4464703e4b064e..1a05728b850653 100644 --- a/libc/src/__support/CPP/bit.h +++ b/libc/src/__support/CPP/bit.h @@ -193,7 +193,7 @@ template bit_ceil(T value) { if (value < 2) return 1; - return static_cast(T(1) << cpp::bit_width(value - 1u)); + return static_cast(T(1) << cpp::bit_width(value - 1U)); } // Rotate algorithms make use of "Safe, Efficient, and Portable Rotate in C/C++"