| author | |
| committer | |
| log | f986cb1f90ff36f65404cb5d62baf9a5a03ce5cd |
| tree | d915cfa9640d1d0b05f88caed398aa79c15d97c5 |
| parent | 2f11de4f514d9775c7713313f2dcfa7343cd2bf2 |
Fixes #136731 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Thread/Futex.zig+1-1| ... | ... | @@ -721,7 +721,7 @@ const PosixImpl = struct { |
| 721 | 721 | // then cut off the zero bits from the alignment to get the unique address. |
| 722 | 722 | const addr = @ptrToInt(ptr); |
| 723 | 723 | assert(addr & (alignment - 1) == 0); |
| 724 | return addr >> @ctz(alignment); | |
| 724 | return addr >> @ctz(@as(usize, alignment)); | |
| 725 | 725 | } |
| 726 | 726 | }; |
| 727 | 727 |