summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-03-22 22:40:18 +0000
committerAndy Polyakov <appro@openssl.org>2010-03-22 22:40:18 +0000
commit6b0be9c73d2ae9357beb9a29adf23c59152f45e0 (patch)
tree9c49258783c3319bd01cf22e25283a12127984d1 /crypto/bio
parent02312a91ca64f4c035aae6dffba4be96488c313b (diff)
bss_file.c: fix MSC 6.0 warning [from HEAD].
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bss_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c
index 1222133dd7..47fa266dfc 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
{