summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-24 11:45:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:57 -0500
commit7c257b2214805e1ef543c3981b74e19649b234df (patch)
tree9dea66f3718020348fa0d5e292ef0b3f470605a7 /source3/lib
parent1ba6f17278353896c0a518c51a4c58ec9a073d40 (diff)
downloadsamba-7c257b2214805e1ef543c3981b74e19649b234df.tar.gz
samba-7c257b2214805e1ef543c3981b74e19649b234df.tar.bz2
samba-7c257b2214805e1ef543c3981b74e19649b234df.zip
r24031: Fix some 64 bit warnings
(This used to be commit c0fd9a14cf4f2a4334a8cae22248e7831ffa6bcf)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c7
1 files changed, 4 insertions, 3 deletions
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;
}