aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-21 23:21:09 -0700
committerWayne Davison <wayned@samba.org>2008-07-21 23:22:40 -0700
commitbb640d32213c5dce2ad26515b5fc26e023ec9b98 (patch)
tree8d5e4fc92d352442256ad641bbcfed5840e31511 /log.c
parent0566dc54b18fcaa6d666711ec3356bf6096af87e (diff)
downloadandroid_external_rsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.tar.gz
android_external_rsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.tar.bz2
android_external_rsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.zip
Explicitly cast a -1 that is being assigned to a size_t.
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index d50523b8..13c9311d 100644
--- a/log.c
+++ b/log.c
@@ -351,7 +351,7 @@ output_msg:
int ierrno;
INIT_CONST_XBUF(outbuf, convbuf);
- INIT_XBUF(inbuf, (char*)buf, len, -1);
+ INIT_XBUF(inbuf, (char*)buf, len, (size_t)-1);
while (inbuf.len) {
iconvbufs(ic, &inbuf, &outbuf, 0);