summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-11 08:00:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:10 -0500
commitd9d90e105b493cfb7676eb65af4456dfb572a5b1 (patch)
tree741d53b2aa0303faf7117934f3f85f02c1aa44e6 /source4/libcli/smb2
parent3015c6ba0435c9e99c202890e50187db891d761d (diff)
downloadsamba-d9d90e105b493cfb7676eb65af4456dfb572a5b1.tar.gz
samba-d9d90e105b493cfb7676eb65af4456dfb572a5b1.tar.bz2
samba-d9d90e105b493cfb7676eb65af4456dfb572a5b1.zip
r11670: fix the build
metze (This used to be commit c0eebe293f341dcf35229c2cbbc3029f6f853abb)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index 93f8043d0c..28e7018ecc 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -70,8 +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);
- SIVAL(req->out.hdr, SMB2_HDR_UID, 0);
- SIVAL(req->out.hdr, SMB2_HDR_UID2, 0);
+ SBVAL(req->out.hdr, SMB2_HDR_UID, (uint64_t)0);
memset(req->out.hdr+SMB2_HDR_SIG, 0, 16);
return req;