Skip to content

Commit

Permalink
fixes when nimvm mixing different types
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Aug 18, 2024
1 parent 618d8b3 commit 64743a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constantine/platforms/bithacks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func log2_vartime*[T: SomeUnsignedInt](n: T): T {.inline.} =
else:
T(log2_impl_vartime(uint32(n)))
else:
log2_c_compiler_vartime(n)
T(log2_c_compiler_vartime(n))

func ctz_impl_vartime(n: uint32): uint32 =
## Find the number of trailing zero bits
Expand Down

0 comments on commit 64743a7

Please sign in to comment.