summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-26 06:27:51 +0000
committerJim Meyering <jim@meyering.net>2003-07-26 06:27:51 +0000
commit75a477449111ac3961184c11f0b18a0a2949c898 (patch)
tree0fa45f197b213336d1f61b783b6023a4cfa2ff6d /src
parent2658b0703e0f610af7b4d1898a3bfaec128df898 (diff)
downloadcoreutils-75a477449111ac3961184c11f0b18a0a2949c898.tar.xz
(flush_paragraph): Cast field width to `int' to avoid warning on 64-bit systems.
Diffstat (limited to 'src')
-rw-r--r--src/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.c b/src/fmt.c
index aa188d65d..a931593dc 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -780,7 +780,7 @@ flush_paragraph (void)
if (word_limit == word)
{
- printf ("%*s", wptr - parabuf, parabuf);
+ printf ("%*s", (int) (wptr - parabuf), parabuf);
wptr = parabuf;
return;
}