summaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2013-04-07 00:06:19 +0200
committerMarc Hoersken <info@marc-hoersken.de>2013-04-07 00:06:19 +0200
commit25f08de4d65a26c6aa8db5afd6e0a363060fe709 (patch)
tree5a526faee6536629074ea95edaab4122a4e51d2c /lib/http_negotiate.c
parentf3bd2abb6158324c7671289043751e24814a5b11 (diff)
downloadcurl-25f08de4d65a26c6aa8db5afd6e0a363060fe709.tar.gz
http_negotiate.c: Fixed passing argument from incompatible pointer type
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r--lib/http_negotiate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index 052fd1951..9b981b332 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -212,7 +212,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
spnegoTokenLength,
NULL,
NULL,
- &mechToken.value,
+ (unsigned char**)&mechToken.value,
&mechToken.length,
NULL,
NULL)) {
@@ -304,7 +304,7 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy)
if(!makeSpnegoInitialToken(object,
responseToken,
responseTokenLength,
- &spnegoToken.value,
+ (unsigned char**)&spnegoToken.value,
&spnegoToken.length)) {
Curl_safefree(responseToken);
ASN1_OBJECT_free(object);