Fix compiler warnings

darcs-hash:20050924195558-ac50b-1ad53fa963f71ce5b4aa42490789add2a3d48ab3.gz
This commit is contained in:
axel
2005-09-25 05:55:58 +10:00
parent 0085156a05
commit fcc980a519
4 changed files with 6 additions and 6 deletions

View File

@@ -175,12 +175,16 @@ wchar_t input_common_readch( int timed )
while(1)
{
wint_t b = readb();
char bb;
int sz;
if( b == R_NULL )
return R_NULL;
sz = mbrtowc( &res, &b, 1, &state );
bb=b;
sz = mbrtowc( &res, &bb, 1, &state );
switch( sz )
{