summaryrefslogtreecommitdiffstats
path: root/usr.bin/fmt
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-06-16 06:22:09 +0000
committerjlemon <jlemon@FreeBSD.org>2001-06-16 06:22:09 +0000
commitcad6c25631011722d5ee60f83d65acaf3bcd51fb (patch)
tree9604e7d180944d47c86e411275304982f5edc92a /usr.bin/fmt
parent2819707a6c5bef060addfc4e4e04b99055305ddf (diff)
downloadFreeBSD-src-cad6c25631011722d5ee60f83d65acaf3bcd51fb.zip
FreeBSD-src-cad6c25631011722d5ee60f83d65acaf3bcd51fb.tar.gz
Cast size_t -> int to satisfy printf %* constraints on the alpha.
Diffstat (limited to 'usr.bin/fmt')
-rw-r--r--usr.bin/fmt/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fmt/fmt.c b/usr.bin/fmt/fmt.c
index d41d745..06f7356 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 {
OpenPOWER on IntegriCloud