summaryrefslogtreecommitdiff
path: root/flist.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 /flist.c
parent0566dc54b18fcaa6d666711ec3356bf6096af87e (diff)
downloadrsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.tar.gz
rsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.tar.bz2
rsync-bb640d32213c5dce2ad26515b5fc26e023ec9b98.zip
Explicitly cast a -1 that is being assigned to a size_t.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flist.c b/flist.c
index 7c21f73e..2d17bf7f 100644
--- a/flist.c
+++ b/flist.c
@@ -689,7 +689,7 @@ static struct file_struct *recv_file_entry(struct file_list *flist,
xbuf outbuf, inbuf;
INIT_CONST_XBUF(outbuf, thisname);
- INIT_XBUF(inbuf, lastname, basename_len, -1);
+ INIT_XBUF(inbuf, lastname, basename_len, (size_t)-1);
if (iconvbufs(ic_recv, &inbuf, &outbuf, 0) < 0) {
io_error |= IOERR_GENERAL;