summaryrefslogtreecommitdiff
path: root/lib/human.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:58:22 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:58:22 +0000
commitaebe5892612879d14b1e4c87abfdcb6638eefc17 (patch)
treefe4f1f42a6ea01a91c44fdc2db0270c1d54a076f /lib/human.c
parente55f95fe9788a9e0437d2fc2a4d7330b823381ed (diff)
downloadcoreutils-aebe5892612879d14b1e4c87abfdcb6638eefc17.tar.xz
unsigned -> unsigned int
Diffstat (limited to 'lib/human.c')
-rw-r--r--lib/human.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/human.c b/lib/human.c
index dbf536b1e..f024c73ea 100644
--- a/lib/human.c
+++ b/lib/human.c
@@ -300,8 +300,8 @@ human_readable (uintmax_t n, char *buf, int opts,
{
do
{
- unsigned r10 = (amt % base) * 10 + tenths;
- unsigned r2 = (r10 % base) * 2 + (rounding >> 1);
+ unsigned int r10 = (amt % base) * 10 + tenths;
+ unsigned int r2 = (r10 % base) * 2 + (rounding >> 1);
amt /= base;
tenths = r10 / base;
rounding = (r2 < base