Closed pmatos closed 4 years ago
Fixes runtime error found by ubsan.
Found by CI here: https://github.com/racket/racket/runs/652807311?check_suite_focus=true#step:10:7
A cast (bigit)1 would be a little better than 1UL, since really the 1 needs to be the same bitwidth as a bignum digit.
(bigit)1
1UL
1
My bad - I should have noticed that. Sorry. Updating PR.
Fixes runtime error found by ubsan.