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 315809e..22d67ab 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);
                }
        }