From: Wayne Davison Date: Fri, 19 Dec 2003 22:19:54 +0000 (+0000) Subject: Quiet a compiler warning. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ef5075e092af8c94324b29c5e19bd63f9d3154cb Quiet a compiler warning. --- diff --git a/sender.c b/sender.c index 315809e5..22d67abf 100644 --- a/sender.c +++ b/sender.c @@ -47,8 +47,8 @@ void read_sum_head(int f, struct sum_struct *sum) } else { sum->s2length = read_int(f); if (sum->s2length > MD4_SUM_LENGTH) { - rprintf(FERROR, "Invalid checksum length %d\n", - sum->s2length); + rprintf(FERROR, "Invalid checksum length %ld\n", + (long)sum->s2length); exit_cleanup(RERR_PROTOCOL); } }