From: Volker Lendecke Date: Tue, 24 Jul 2007 11:45:29 +0000 (+0000) Subject: r24031: Fix some 64 bit warnings X-Git-Tag: samba-4.0.0alpha6~801^2~5257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c257b2214805e1ef543c3981b74e19649b234df;p=thirdparty%2Fsamba.git r24031: Fix some 64 bit warnings (This used to be commit c0fd9a14cf4f2a4334a8cae22248e7831ffa6bcf) --- diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index b926c533b53..f3b6bd4b5b5 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; }