diff options
| author | Laytan <laytanlaats@hotmail.com> | 2024-05-09 19:39:48 +0200 |
|---|---|---|
| committer | Laytan <laytanlaats@hotmail.com> | 2024-05-09 19:39:48 +0200 |
| commit | d7fdccb08ca811a13715eb21c6c6def6e736558b (patch) | |
| tree | 8b8bba9ae358f18999f4fa55c331d7103970d38b /core/math/big/helpers.odin | |
| parent | 8a1e7bb6fba1fb2c195d7fa6c153d278858cdf61 (diff) | |
fix a couple of -vet-style failures after f54977336b27c32eab52b77d94e7b1610f4350cf
Diffstat (limited to 'core/math/big/helpers.odin')
| -rw-r--r-- | core/math/big/helpers.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/helpers.odin b/core/math/big/helpers.odin index 35be4f1fd..1969fac49 100644 --- a/core/math/big/helpers.odin +++ b/core/math/big/helpers.odin @@ -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 } |