Skip to content

Commit

Permalink
fix stint for nim-lang/Nim#18050
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed May 23, 2021
1 parent bae3fc6 commit c7ada8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stint/private/datatypes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ when defined(mpint_test): # TODO stint_test

else:
template uintImpl*(bits: static[int]): untyped =
mixin UintImpl
when bits >= 128: UintImpl[uintImpl(checkDiv2(bits))]
elif bits == 64: uint64
elif bits == 32: uint32
Expand Down

0 comments on commit c7ada8e

Please sign in to comment.