From f6e4af6fd7d409a1843d9272a5dfa9bdef228284 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 22 Mar 2010 22:39:46 +0000 Subject: [PATCH] bss_file.c: fix MSC 6.0 warning [from HEAD]. --- 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