diff options
Diffstat (limited to 'scanf')
-rw-r--r-- | scanf/doscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scanf/doscan.c b/scanf/doscan.c index 4210d029a..8d9c1bbf2 100644 --- a/scanf/doscan.c +++ b/scanf/doscan.c @@ -401,7 +401,7 @@ gmpscan (const struct gmp_doscan_funs_t *funs, void *data, if (exp >= 0) mpf_mul_2exp (f, f, (unsigned long) exp); else - mpf_div_2exp (f, f, - (unsigned long) exp); + mpf_div_2exp (f, f, NEG_CAST (unsigned long, exp)); } } break; |