git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee751e
)
r2020: fix compiler warnings
author
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Aug 2004 15:48:14 +0000
(15:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:58:18 +0000
(12:58 -0500)
metze
(This used to be commit
17268837d21c2199b87bd78c1f62b49a37b86df8
)
source4/libcli/auth/ntlmssp_parse.c
patch
|
blob
|
history
diff --git
a/source4/libcli/auth/ntlmssp_parse.c
b/source4/libcli/auth/ntlmssp_parse.c
index 251effd7e1fc0a41a5067fb78013914f11188f9d..bb835b367c6ee681ddd13b750902b32eeda6a20f 100644
(file)
--- 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 = "";