Skip to content

Commit

Permalink
fix #136 - Error: cannot implicitly convert expression ~this.registry…
Browse files Browse the repository at this point in the history
… of type const(ulong) to immutable(uint)
  • Loading branch information
Basile-z committed Feb 7, 2019
1 parent d2ae062 commit 4b9d456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/unrolledlist.d
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ private:
static if (BookkeepingType.sizeof < uint.sizeof)
immutable uint notReg = ~(cast(uint) registry);
else
immutable uint notReg = ~registry;
immutable uint notReg = cast(uint) (~registry);
version (LDC)
{
import ldc.intrinsics : llvm_cttz;
Expand Down

0 comments on commit 4b9d456

Please sign in to comment.