fix fmt_fp.c(329) : warning C4244: 'return' : conversion from 'ptrdiff_t' to 'int', possible loss of data

This commit is contained in:
Tomasz Dąbrowski
2017-08-25 14:18:31 +02:00
parent 78b13b3955
commit 5d9b84ef40
+1 -1
View File
@@ -326,7 +326,7 @@ fmt_fp(struct fmt_args *f, long double y, ptrdiff_t p, uint8_t fl, int t)
pad(f, ' ', 0, pl+l, fl^LEFT_ADJ);
return pl+l;
return (int)pl+(int)l;
}
static int