aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-07-04 15:11:44 +0000
committerWayne Davison <wayned@samba.org>2003-07-04 15:11:44 +0000
commit8801138b474c9f8c233eabcbfe49b8e1ae95958e (patch)
tree2d96fb7489679cf2e8bde6e4f1746e1e0b5b886e /io.c
parent2473391971b10ab9fdec66714d25d2ba357a3ac8 (diff)
downloadandroid_external_rsync-8801138b474c9f8c233eabcbfe49b8e1ae95958e.tar.gz
android_external_rsync-8801138b474c9f8c233eabcbfe49b8e1ae95958e.tar.bz2
android_external_rsync-8801138b474c9f8c233eabcbfe49b8e1ae95958e.zip
Made rprintf() of size_t value portable.
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 117a9d62..064bf3b6 100644
--- a/io.c
+++ b/io.c
@@ -473,8 +473,8 @@ static int read_unbuffered(int fd, char *buf, size_t len)
}
if (remaining > sizeof(line) - 1) {
- rprintf(FERROR, "multiplexing overflow %d\n\n",
- remaining);
+ rprintf(FERROR, "multiplexing overflow %ld\n\n",
+ (long)remaining);
exit_cleanup(RERR_STREAMIO);
}