long int fix from Nelson Beebe
authorMartin Pool <mbp@samba.org>
Tue, 9 Apr 2002 06:03:50 +0000 (06:03 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 9 Apr 2002 06:03:50 +0000 (06:03 +0000)
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);