]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Quiet a compiler warning.
authorWayne Davison <wayned@samba.org>
Fri, 19 Dec 2003 22:19:54 +0000 (22:19 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 19 Dec 2003 22:19:54 +0000 (22:19 +0000)
sender.c

index 315809e5aff2841617e565681c383d275e5c2697..22d67abf0a86c90b43466806569ed171aa869660 100644 (file)
--- 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);
                }
        }