From: Andy Polyakov Date: Mon, 22 Mar 2010 22:39:46 +0000 (+0000) Subject: bss_file.c: fix MSC 6.0 warning [from HEAD]. X-Git-Tag: OpenSSL_1_0_0~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6e4af6fd7d409a1843d9272a5dfa9bdef228284;p=oweals%2Fopenssl.git bss_file.c: fix MSC 6.0 warning [from HEAD]. --- 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 {