Permalink
Browse files

http_negotiate.c: Fixed passing argument from incompatible pointer type

  • Loading branch information...
1 parent f3bd2ab commit 25f08de4d65a26c6aa8db5afd6e0a363060fe709 @mback2k mback2k committed Apr 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/http_negotiate.c
View
@@ -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);

0 comments on commit 25f08de

Please sign in to comment.