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