diff --git a/mtest/mpi.c b/mtest/mpi.c index 95c3811..7e71ad6 100644 --- a/mtest/mpi.c +++ b/mtest/mpi.c @@ -494,7 +494,7 @@ void mp_set(mp_int *mp, mp_digit d) mp_err mp_set_int(mp_int *mp, long z) { int ix; - unsigned long v = abs(z); + unsigned long v = labs(z); mp_err res; ARGCHK(mp != NULL, MP_BADARG);