From 25f08de4d65a26c6aa8db5afd6e0a363060fe709 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 7 Apr 2013 00:06:19 +0200 Subject: http_negotiate.c: Fixed passing argument from incompatible pointer type --- lib/http_negotiate.c | 4 ++-- 1 file 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); -- cgit v1.2.3