projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade allocsa module from GNU gettext.
[gnulib.git]
/
lib
/
human.c
diff --git
a/lib/human.c
b/lib/human.c
index
dbf536b
..
f024c73
100644
(file)
--- a/
lib/human.c
+++ b/
lib/human.c
@@
-300,8
+300,8
@@
human_readable (uintmax_t n, char *buf, int opts,
{
do
{
{
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
amt /= base;
tenths = r10 / base;
rounding = (r2 < base