Warning fixes
[jigit.git] / 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;
         }
     }