fix a couple of -vet-style failures after f54977336b

This commit is contained in:
Laytan
2024-05-09 19:39:48 +02:00
parent 8a1e7bb6fb
commit d7fdccb08c
4 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ int_count_lsb :: proc(a: ^Int, allocator := context.allocator) -> (count: int, e
}
platform_count_lsb :: #force_inline proc(a: $T) -> (count: int)
where intrinsics.type_is_integer(T) && intrinsics.type_is_unsigned(T) {
where intrinsics.type_is_integer(T), intrinsics.type_is_unsigned(T) {
return int(intrinsics.count_trailing_zeros(a)) if a > 0 else 0
}