Browse Source
For cases where size_t is smaller than mp_int_t (eg nan-boxing builds) the difference between two size_t's is not sign extended into mp_int_t and so the result is never negative. This patch fixes this bug by using ssize_t for the type of the result.pull/3771/merge
Damien George
7 years ago
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue