From 3bcdc44d524b6773b10b3208fda38aef0396fdf6 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 2 May 2003 06:36:52 +0000 Subject: Make count a size_t as that is what is compared against and how it is used. --- bin/rcp/rcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/rcp/rcp.c') diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index ca21062..f9b6789 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -502,7 +502,8 @@ sink(int argc, char *argv[]) enum { YES, NO, DISPLAYED } wrerr; BUF *bp; off_t i, j, size; - int amt, count, exists, first, mask, mode, ofd, omode; + int amt, exists, first, mask, mode, ofd, omode; + size_t count; int setimes, targisdir, wrerrno = 0; char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ], path[PATH_MAX]; -- cgit v1.1