From 3dd303129ff478349aaf9ddd12ee711c235f8a36 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 22 Mar 2010 22:38:56 +0000 Subject: [PATCH] bss_file.c: fix MSC 6.0 warning. --- crypto/bio/bss_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c index cb2abeae11..ba4f8e9940 100644 --- a/crypto/bio/bss_file.c +++ b/crypto/bio/bss_file.c @@ -274,7 +274,7 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr) #endif #ifdef UP_fsetmod if (b->flags&BIO_FLAGS_UPLINK) - UP_fsetmod(b->ptr,num&BIO_FP_TEXT?'t':'b'); + UP_fsetmod(b->ptr,(char)((num&BIO_FP_TEXT)?'t':'b')); else #endif { -- 2.25.1