diff --git a/src/fmt_fp.c b/src/fmt_fp.c index 2c8b14d2f..37f7c7a4b 100644 --- a/src/fmt_fp.c +++ b/src/fmt_fp.c @@ -217,7 +217,7 @@ fmt_fp(struct fmt_args *f, long double y, ptrdiff_t p, uint8_t fl, int t) e2+=sh; } - if (a=i; i*=10, e++); + if (a=i; i*=10, e++); else e=0; /* Perform rounding: j is precision after the radix (possibly neg) */