Fix another int that ought to be a size_t.
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index 6085745..45d91ee 100644 (file)
--- a/io.c
+++ b/io.c
@@ -255,7 +255,7 @@ static void read_loop (int fd, char *buf, size_t len)
  */
 static int read_unbuffered(int fd, char *buf, size_t len)
 {
-       static int remaining;
+       static size_t remaining;
        int tag, ret = 0;
        char line[1024];