Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use write_shortint() to send the 2 bytes in an extended flag.
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
40f00d2
..
cdf68bc
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1128,7
+1128,7
@@
char *human_num(int64 num)
if (!num)
*--s = '0';
while (num) {
if (!num)
*--s = '0';
while (num) {
- *--s = (num % 10) + '0';
+ *--s = (
char)(
num % 10) + '0';
num /= 10;
}
return s;
num /= 10;
}
return s;