Fix a compiler warning about a %d mismatch.
authorWayne Davison <wayned@samba.org>
Mon, 14 Dec 2009 01:47:35 +0000 (17:47 -0800)
committerWayne Davison <wayned@samba.org>
Mon, 14 Dec 2009 01:47:35 +0000 (17:47 -0800)
io.c

diff --git a/io.c b/io.c
index 7f023fc..d142a1a 100644 (file)
--- a/io.c
+++ b/io.c
@@ -1534,7 +1534,7 @@ static void read_a_msg(void)
                        goto invalid_msg;
                iobuf.in_multiplexed = 1;
                if (DEBUG_GTE(EXIT, 3))
                        goto invalid_msg;
                iobuf.in_multiplexed = 1;
                if (DEBUG_GTE(EXIT, 3))
-                       rprintf(FINFO, "[%s] got MSG_ERROR_EXIT with %d bytes\n", who_am_i(), msg_bytes);
+                       rprintf(FINFO, "[%s] got MSG_ERROR_EXIT with %ld bytes\n", who_am_i(), (long)msg_bytes);
                if (msg_bytes == 0) {
                        if (!am_sender && !am_generator) {
                                if (DEBUG_GTE(EXIT, 3)) {
                if (msg_bytes == 0) {
                        if (!am_sender && !am_generator) {
                                if (DEBUG_GTE(EXIT, 3)) {