From 03d301ead5f702872b8cb948b8cd01b0fa0db5f7 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 30 Nov 2005 02:08:15 +0000 Subject: r11967: Fix more 64-bit warnings. (This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f) --- source4/libcli/smb2/transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/libcli/smb2/transport.c') diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c index 02ac587636..60dd5d2ba6 100644 --- a/source4/libcli/smb2/transport.c +++ b/source4/libcli/smb2/transport.c @@ -170,7 +170,7 @@ static NTSTATUS smb2_transport_finish_recv(void *private, DATA_BLOB blob) if (!req) { DEBUG(1,("Discarding unmatched reply with seqnum 0x%llx op %d\n", - seqnum, SVAL(hdr, SMB2_HDR_OPCODE))); + (long long)seqnum, SVAL(hdr, SMB2_HDR_OPCODE))); goto error; } @@ -204,7 +204,7 @@ static NTSTATUS smb2_transport_finish_recv(void *private, DATA_BLOB blob) } } - DEBUG(2, ("SMB2 RECV seqnum=0x%llx\n", req->seqnum)); + DEBUG(2, ("SMB2 RECV seqnum=0x%llx\n", (long long)req->seqnum)); dump_data(5, req->in.body, req->in.body_size); /* if this request has an async handler then call that to @@ -273,7 +273,7 @@ void smb2_transport_send(struct smb2_request *req) _smb_setlen2(req->out.buffer, req->out.size - NBT_HDR_SIZE); - DEBUG(2, ("SMB2 send seqnum=0x%llx\n", req->seqnum)); + DEBUG(2, ("SMB2 send seqnum=0x%llx\n", (long long)req->seqnum)); dump_data(5, req->out.body, req->out.body_size); /* check if the transport is dead */ -- cgit