bss_file.c: fix MSC 6.0 warning [from HEAD].

This commit is contained in:
Andy Polyakov 2010-03-22 22:40:18 +00:00
parent 02312a91ca
commit 6b0be9c73d

View File

@ -274,7 +274,7 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
#endif #endif
#ifdef UP_fsetmod #ifdef UP_fsetmod
if (b->flags&BIO_FLAGS_UPLINK) 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 else
#endif #endif
{ {