From 84982751aab95f38b1d8e8b86de5b0924ef0e37d Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Sat, 16 Jun 2001 06:22:09 +0000 Subject: [PATCH] Cast size_t -> int to satisfy printf %* constraints on the alpha. --- usr.bin/fmt/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/fmt/fmt.c b/usr.bin/fmt/fmt.c index d41d745d78ad..06f7356f8ca5 100644 --- a/usr.bin/fmt/fmt.c +++ b/usr.bin/fmt/fmt.c @@ -525,7 +525,7 @@ output_word(size_t indent0, size_t indent1, const char *word, size_t length, siz if (indent>0) output_indent(indent); fwrite(output_buffer, 1, x0, stdout); if (x0==0 || (new_x <= max_length && new_x-goal_length <= goal_length-x)) { - printf("%*s", pending_spaces, ""); + printf("%*s", (int)pending_spaces, ""); goto write_out_word; } else {