summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-11 10:46:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:11 -0500
commit7935df168f4e98e5d3da352ea555883b0be8bbd3 (patch)
tree13fad4bca8d3e2fd9de9e312a115469b1544c369 /source4/libcli/smb2
parent3e54c36fa459ec6f5e721b90ce4e4c1d0e31d85c (diff)
downloadsamba-7935df168f4e98e5d3da352ea555883b0be8bbd3.tar.gz
samba-7935df168f4e98e5d3da352ea555883b0be8bbd3.tar.bz2
samba-7935df168f4e98e5d3da352ea555883b0be8bbd3.zip
r11675: a more general way of getting rid of compiler warnings and errors
metze (This used to be commit 653f5ccd61f2555bbd49b81c5cc660962b31aa68)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index deadd1794f..7e25de99a8 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -70,7 +70,7 @@ struct smb2_request *smb2_request_init(struct smb2_transport *transport,
SBVAL(req->out.hdr, SMB2_HDR_SEQNUM, req->seqnum);
SIVAL(req->out.hdr, SMB2_HDR_PID, 0);
SIVAL(req->out.hdr, SMB2_HDR_TID, 0);
- SBVAL(req->out.hdr, SMB2_HDR_UID, (uint64_t)0);
+ SBVAL(req->out.hdr, SMB2_HDR_UID, 0);
memset(req->out.hdr+SMB2_HDR_SIG, 0, 16);
return req;