We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd605bc commit b68c9f2Copy full SHA for b68c9f2
src/kernel/include/compiler.h
@@ -209,7 +209,7 @@ static inline __UINT64_TYPE__ __stdc_trailing_zeros_u64(__UINT64_TYPE__ value) {
209
210
[[gnu::const]]
211
static inline __SIZE_TYPE__ __stdc_trailing_zeros_usize(__SIZE_TYPE__ value) {
212
- return __builtin_ctzg((__UINT64_TYPE__)~value, -1) + 1U;
+ return __builtin_ctzg((__SIZE_TYPE__)~value, -1) + 1U;
213
}
214
215
#define stdc_trailing_zeros(VALUE) \
0 commit comments