svn commit: samba r2020 - branches/SAMBA_4_0/source/libcli/auth
metze at samba.org
metze at samba.org
Tue Aug 24 15:48:14 GMT 2004
Author: metze
Date: 2004-08-24 15:48:14 +0000 (Tue, 24 Aug 2004)
New Revision: 2020
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2020&nolog=1
Log:
fix compiler warnings
metze
Modified:
branches/SAMBA_4_0/source/libcli/auth/ntlmssp_parse.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/ntlmssp_parse.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/ntlmssp_parse.c 2004-08-24 15:43:57 UTC (rev 2019)
+++ branches/SAMBA_4_0/source/libcli/auth/ntlmssp_parse.c 2004-08-24 15:48:14 UTC (rev 2020)
@@ -204,7 +204,7 @@
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 @@
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 = "";
More information about the samba-cvs
mailing list