From bb640d32213c5dce2ad26515b5fc26e023ec9b98 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Jul 2008 23:21:09 -0700 Subject: Explicitly cast a -1 that is being assigned to a size_t. --- flist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flist.c') 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; -- cgit v1.2.3