From bac37a9f1aa7fa6e16884c6172fffdeeebacfe90 Mon Sep 17 00:00:00 2001 From: Tomasz Dąbrowski Date: Fri, 25 Aug 2017 14:13:06 +0200 Subject: fix fmt_fp.c(220) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data --- src/fmt_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- cgit v1.2.3