From 6b5810498fe79b0ce2ca305c0aed95b6c7b631a4 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 5 Jan 2021 12:28:13 +0100 Subject: Added xargs utility, Added -std=c99 flag --- src/seq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/seq.c') diff --git a/src/seq.c b/src/seq.c index 8307fc4..20d65cd 100644 --- a/src/seq.c +++ b/src/seq.c @@ -109,13 +109,13 @@ int main(int argc, char **argv) { int precision = MAX(first.precision, increment.precision); if (!padding) - printf("%.*llf", precision, first.value); + printf("%.*Lf", precision, first.value); else { int width = MAX(last.integer_len, first.integer_len); if (precision != 0) width += precision + 1; - printf("%0*.*llf", width, precision, first.value); + printf("%0*.*Lf", width, precision, first.value); } first.value += increment.value; if (increment.value > 0 ? (first.value <= last.value) : (first.value >= last.value)) -- cgit