Warning fixes v1.15-ish
authorSteve McIntyre <steve@einval.com>
Sun, 13 Jun 2010 22:28:03 +0000 (23:28 +0100)
committerSteve McIntyre <steve@einval.com>
Sun, 13 Jun 2010 22:28:03 +0000 (23:28 +0100)
rsync.c

diff --git a/rsync.c b/rsync.c
index ee69be2..9b21232 100644 (file)
--- a/rsync.c
+++ b/rsync.c
@@ -152,7 +152,7 @@ static int rsyncsum_file(char *filename)
         bytes_read += used;
         if (used)
         {
-            rsum = rsync64(buf, BUF_SIZE);
+            rsum = rsync64((unsigned char *)buf, BUF_SIZE);
             done = 1;
         }
     }