summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/request.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-14 07:06:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:17 -0500
commit61317df8aab2fe2fd47baba8a137566df7b23395 (patch)
tree911e0e31491681cfb992293a78e1c7bdf0491f42 /source4/libcli/smb2/request.c
parent695e37d8e75c95af24cb3f02cfb6d44d95067671 (diff)
downloadsamba-61317df8aab2fe2fd47baba8a137566df7b23395.tar.gz
samba-61317df8aab2fe2fd47baba8a137566df7b23395.tar.bz2
samba-61317df8aab2fe2fd47baba8a137566df7b23395.zip
r11721: Fix warnings
(This used to be commit d760583e388157ff25e317da06c57e5a42f171bd)
Diffstat (limited to 'source4/libcli/smb2/request.c')
-rw-r--r--source4/libcli/smb2/request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index a06121df05..4e40b1884a 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -267,9 +267,9 @@ NTSTATUS smb2_string_blob(TALLOC_CTX *mem_ctx, const char *str, DATA_BLOB *blob)
/*
put a file handle into a buffer
*/
-void smb2_put_handle(uint8_t *data, struct smb2_handle h)
+void smb2_put_handle(uint8_t *data, struct smb2_handle *h)
{
- SBVAL(data, 0, h.data[0]);
- SBVAL(data, 8, h.data[1]);
+ SBVAL(data, 0, h->data[0]);
+ SBVAL(data, 8, h->data[1]);
}