From 36e52d5d9ab0f4ec972f3c8efae82db7ffe4dd1e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 24 Aug 2004 15:48:14 +0000 Subject: r2020: fix compiler warnings metze (This used to be commit 17268837d21c2199b87bd78c1f62b49a37b86df8) --- source4/libcli/auth/ntlmssp_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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 = ""; -- cgit