use labs() instead of abs()
This commit is contained in:
parent
21b4b01233
commit
6ba670909e
@ -494,7 +494,7 @@ void mp_set(mp_int *mp, mp_digit d)
|
|||||||
mp_err mp_set_int(mp_int *mp, long z)
|
mp_err mp_set_int(mp_int *mp, long z)
|
||||||
{
|
{
|
||||||
int ix;
|
int ix;
|
||||||
unsigned long v = abs(z);
|
unsigned long v = labs(z);
|
||||||
mp_err res;
|
mp_err res;
|
||||||
|
|
||||||
ARGCHK(mp != NULL, MP_BADARG);
|
ARGCHK(mp != NULL, MP_BADARG);
|
||||||
|
Loading…
Reference in New Issue
Block a user