From: Martin Pool Date: Tue, 9 Apr 2002 06:03:50 +0000 (+0000) Subject: long int fix from Nelson Beebe X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ce8149b6feae51c7a576b04f86003e7a4555ee14 long int fix from Nelson Beebe --- diff --git a/sender.c b/sender.c index dbc0c0f0..212ceba0 100644 --- 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);