summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 02:08:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commit03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (patch)
treebfecef5d67424c708c0122b591458328f6138ce1 /source4/libcli/smb2
parentad02b0bee4c8554499e02e93903e64d599c11475 (diff)
downloadsamba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.gz
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.bz2
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.zip
r11967: Fix more 64-bit warnings.
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/transport.c6
1 files changed, 3 insertions, 3 deletions
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 */