aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/security.c b/lib/security.c
index 17ac3686d..03fc67966 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -331,7 +331,7 @@ Curl_sec_send(struct connectdata *conn, int num, const char *buffer, int length)
int
Curl_sec_putc(struct connectdata *conn, int c, FILE *F)
{
- char ch = c;
+ char ch = (char)c;
if(conn->data_prot == prot_clear)
return putc(c, F);