aboutsummaryrefslogtreecommitdiff
path: root/coreutils/factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/factor.c')
-rw-r--r--coreutils/factor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/factor.c b/coreutils/factor.c
index de8ea4e11..a7a5a5030 100644
--- a/coreutils/factor.c
+++ b/coreutils/factor.c
@@ -125,7 +125,7 @@ static NOINLINE void print_w(wide_t n)
125{ 125{
126 unsigned rep = square_count; 126 unsigned rep = square_count;
127 do 127 do
128 printf(" %llu", n); 128 printf(" %"LL_FMT"u", n);
129 while (--rep != 0); 129 while (--rep != 0);
130} 130}
131static NOINLINE void print_h(half_t n) 131static NOINLINE void print_h(half_t n)
@@ -227,7 +227,7 @@ static void factorize_numstr(const char *numstr)
227 N = bb_strtoull(numstr, NULL, 10); 227 N = bb_strtoull(numstr, NULL, 10);
228 if (errno) 228 if (errno)
229 bb_show_usage(); 229 bb_show_usage();
230 printf("%llu:", N); 230 printf("%"LL_FMT"u:", N);
231 square_count = 1; 231 square_count = 1;
232 factorize(N); 232 factorize(N);
233} 233}