From 62d0eeab745385171c539dfffc7a34339e89964d Mon Sep 17 00:00:00 2001 From: Marco Bodrato Date: Wed, 23 Jan 2013 22:07:47 +0100 Subject: mini-gmp/mini-gmp.c (mpz_set_str): Behaviour more adherent to the real GMP. --- mini-gmp/mini-gmp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mini-gmp/mini-gmp.c b/mini-gmp/mini-gmp.c index 5fefd7e43..6d49bad07 100644 --- a/mini-gmp/mini-gmp.c +++ b/mini-gmp/mini-gmp.c @@ -3883,10 +3883,7 @@ mpz_set_str (mpz_t r, const char *sp, int base) if (*sp == '-') { sign = 1; - - do - sp++; - while (isspace( (unsigned char) *sp)); + sp++; } else sign = 0; -- cgit v1.2.1