summaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-07-27 20:10:02 +0200
committerYang Tse <yangsita@gmail.com>2011-07-27 20:10:02 +0200
commitdddf9aa610b32a6b7aa304826dbf962c951e2203 (patch)
treebc3ac2484bf78760f190b78c748805edd25b37a1 /lib/http_ntlm.c
parent4eb08ac1c005cfc1ea7e09d5e10697bab08e3cac (diff)
downloadcurl-dddf9aa610b32a6b7aa304826dbf962c951e2203.tar.gz
NTLM single-sign on adjustments (IV)
Fix compiler warning
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 77f678630..5e164f2b7 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -834,7 +834,7 @@ static CURLcode sso_ntlm_response(struct connectdata *conn,
size_t len_in = strlen(input), len_out = sizeof(buf);
while(len_in > 0) {
- int written = write(conn->fd_helper, input, len_in);
+ ssize_t written = write(conn->fd_helper, input, len_in);
if(written == -1) {
/* Interrupted by a signal, retry it */
if(errno == EINTR)