aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_file.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-03-22 22:38:56 +0000
committerAndy Polyakov <appro@openssl.org>2010-03-22 22:38:56 +0000
commit3dd303129ff478349aaf9ddd12ee711c235f8a36 (patch)
treeec40b7d11f9cad7a0a20ea7e221b0487e4581a9b /crypto/bio/bss_file.c
parentc3473126b1ed43e281f5fb2394f16bf8a5be2922 (diff)
downloadopenssl-3dd303129ff478349aaf9ddd12ee711c235f8a36.tar.gz
bss_file.c: fix MSC 6.0 warning.
Diffstat (limited to 'crypto/bio/bss_file.c')
-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 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
{