summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fmt_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index e44788242..739211206 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -175,7 +175,7 @@ fmt_fp(struct fmt_args *f, long double y, ptrdiff_t p, uint8_t fl, int t)
pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0);
out(f, estr, ebuf-estr);
pad(f, ' ', 0, pl+l, fl^LEFT_ADJ);
- return pl+l;
+ return (int)pl+(int)l;
}
if (p<0) p=6;