From: Marc Hoersken Date: Sat, 6 Apr 2013 22:06:19 +0000 (+0200) Subject: http_negotiate.c: Fixed passing argument from incompatible pointer type X-Git-Tag: curl-7_30_0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25f08de4d65a26c6aa8db5afd6e0a363060fe709;p=thirdparty%2Fcurl.git http_negotiate.c: Fixed passing argument from incompatible pointer type --- diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index 052fd1951c..9b981b3327 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);