aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 08:24:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 08:24:53 +0000
commitf493081004b3ba2477f91f028ac7e37207ee2e4e (patch)
tree828f3c15a147265fc0940943a95b6a3948bbcb00
parente1b5e15431c95cc24665753ed31543c2ce6a55ab (diff)
adjusted to the modified base64 protos
-rw-r--r--lib/http_ntlm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 44fe01397..faebb6582 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -126,7 +126,7 @@ CURLntlm Curl_input_ntlm(struct connectdata *conn,
32 (48) start of data block
*/
- int size = Curl_base64_decode(header, buffer);
+ size_t size = Curl_base64_decode(header, (char *)buffer);
ntlm->state = NTLMSTATE_TYPE2; /* we got a type-2 */
@@ -376,7 +376,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
size = 32 + hostlen + domlen;
/* now keeper of the base64 encoded package size */
- size = Curl_base64_encode(ntlmbuf, size, &base64);
+ size = Curl_base64_encode((char *)ntlmbuf, size, &base64);
if(size >0 ) {
Curl_safefree(*allocuserpwd);
@@ -549,7 +549,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
ntlmbuf[57] = size >> 8;
/* convert the binary blob into base64 */
- size = Curl_base64_encode(ntlmbuf, size, &base64);
+ size = Curl_base64_encode((char *)ntlmbuf, size, &base64);
if(size >0 ) {
Curl_safefree(*allocuserpwd);