aboutsummaryrefslogtreecommitdiff
path: root/src/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c4
1 files changed, 2 insertions, 2 deletions
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))