aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-07-11 09:57:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-07-11 09:57:54 +0000
commit4e75c708741abeac51fc5b4b456a7b8fcd81f97a (patch)
tree0eb812355c50f9b32d3218a69dd764dfdc04f0bf /lib
parentbdbfe1f8a9dbfab8352adc2d386f08cd6092acee (diff)
silence a compiler warning
Diffstat (limited to 'lib')
-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);