long int fix from Nelson Beebe
[rsync/rsync.git] / sender.c
index dbc0c0f..212ceba 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -37,9 +37,9 @@ extern int am_server;
  **/
 
 
-/*
 receive the checksums for a buffer
 */
+/**
* Receive the checksums for a buffer
**/
 static struct sum_struct *receive_sums(int f)
 {
        struct sum_struct *s;
@@ -55,8 +55,8 @@ static struct sum_struct *receive_sums(int f)
        s->sums = NULL;
 
        if (verbose > 3)
-               rprintf(FINFO,"count=%d n=%d rem=%d\n",
-                       s->count,s->n,s->remainder);
+               rprintf(FINFO,"count=%ld n=%ld rem=%ld\n",
+                       (long) s->count, (long) s->n, (long) s->remainder);
 
        if (s->count == 0) 
                return(s);