summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-24 15:48:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:18 -0500
commit36e52d5d9ab0f4ec972f3c8efae82db7ffe4dd1e (patch)
treec246aa3d134976486f84ec7e76eb6d1f27f32764 /source4/libcli/auth
parentbee751ed17223dc72f8972b014998c950e5bd794 (diff)
downloadsamba-36e52d5d9ab0f4ec972f3c8efae82db7ffe4dd1e.tar.gz
samba-36e52d5d9ab0f4ec972f3c8efae82db7ffe4dd1e.tar.bz2
samba-36e52d5d9ab0f4ec972f3c8efae82db7ffe4dd1e.zip
r2020: fix compiler warnings
metze (This used to be commit 17268837d21c2199b87bd78c1f62b49a37b86df8)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/ntlmssp_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/auth/ntlmssp_parse.c b/source4/libcli/auth/ntlmssp_parse.c
index 251effd7e1..bb835b367c 100644
--- a/source4/libcli/auth/ntlmssp_parse.c
+++ b/source4/libcli/auth/ntlmssp_parse.c
@@ -204,7 +204,7 @@ BOOL msrpc_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob,
len2 = SVAL(blob->data, head_ofs); head_ofs += 2;
ptr = IVAL(blob->data, head_ofs); head_ofs += 4;
- ps = va_arg(ap, char **);
+ ps = (const char **)va_arg(ap, char **);
if (len1 == 0 && len2 == 0) {
*ps = "";
} else {
@@ -238,7 +238,7 @@ BOOL msrpc_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob,
len2 = SVAL(blob->data, head_ofs); head_ofs += 2;
ptr = IVAL(blob->data, head_ofs); head_ofs += 4;
- ps = va_arg(ap, char **);
+ ps = (const char **)va_arg(ap, char **);
/* make sure its in the right format - be strict */
if (len1 == 0 && len2 == 0) {
*ps = "";