From 7c257b2214805e1ef543c3981b74e19649b234df Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 Jul 2007 11:45:29 +0000 Subject: r24031: Fix some 64 bit warnings (This used to be commit c0fd9a14cf4f2a4334a8cae22248e7831ffa6bcf) --- source3/lib/ctdbd_conn.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index b926c533b5..f3b6bd4b5b 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -157,8 +157,8 @@ static BOOL ctdb_req_complete(const struct data_blob *data, if (msglen < sizeof(struct ctdb_req_header)) { DEBUG(0, ("Got invalid msglen: %d, expected at least %d for " - "the req_header\n", msglen, - sizeof(struct ctdb_req_header))); + "the req_header\n", (int)msglen, + (int)sizeof(struct ctdb_req_header))); cluster_fatal("ctdbd protocol error\n"); } @@ -313,7 +313,8 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid, if (conn->msg_ctx == NULL) { DEBUG(1, ("Got a message without having a msg ctx, " - "dropping msg %llu\n", msg->srvid)); + "dropping msg %llu\n", + (long long unsigned)msg->srvid)); goto again; } -- cgit