diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2013-04-07 00:06:19 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2013-04-07 00:06:19 +0200 |
commit | 25f08de4d65a26c6aa8db5afd6e0a363060fe709 (patch) | |
tree | 5a526faee6536629074ea95edaab4122a4e51d2c | |
parent | f3bd2abb6158324c7671289043751e24814a5b11 (diff) |
http_negotiate.c: Fixed passing argument from incompatible pointer type
-rw-r--r-- | lib/http_negotiate.c | 4 |
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); |