summaryrefslogtreecommitdiffstats
path: root/ctdb/tcp/tcp_io.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-29 13:58:41 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-29 13:58:41 +1000
commit1140d5a20a9a27d36631fd168d09a849b9a4983c (patch)
tree2f92ac5734270d713e21f79f269511eadc078169 /ctdb/tcp/tcp_io.c
parentbc891232b600d2c03688003213f5cb0ac6977f8c (diff)
downloadsamba-1140d5a20a9a27d36631fd168d09a849b9a4983c.tar.gz
samba-1140d5a20a9a27d36631fd168d09a849b9a4983c.tar.xz
samba-1140d5a20a9a27d36631fd168d09a849b9a4983c.zip
fixed more warnings on 64 bit boxes
(This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)
Diffstat (limited to 'ctdb/tcp/tcp_io.c')
-rw-r--r--ctdb/tcp/tcp_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/tcp/tcp_io.c b/ctdb/tcp/tcp_io.c
index e90770ec73..ee9438d44d 100644
--- a/ctdb/tcp/tcp_io.c
+++ b/ctdb/tcp/tcp_io.c
@@ -47,7 +47,8 @@ void ctdb_tcp_read_cb(uint8_t *data, size_t cnt, void *args)
}
if (cnt & (CTDB_TCP_ALIGNMENT-1)) {
- DEBUG(0,(__location__ " Length 0x%x not multiple of alignment\n", cnt));
+ DEBUG(0,(__location__ " Length 0x%x not multiple of alignment\n",
+ (unsigned)cnt));
goto failed;
}