Warning cleanup

This commit is contained in:
ridiculousfish
2012-07-28 17:49:46 -07:00
parent 1b8f1650dc
commit 2e1b3325c6
26 changed files with 94 additions and 126 deletions

View File

@@ -217,7 +217,7 @@ wchar_t input_common_readch( int timed )
wint_t b = readb();
char bb;
int sz;
size_t sz;
if( (b >= R_NULL) && (b < R_NULL + 1000) )
return b;
@@ -228,11 +228,11 @@ wchar_t input_common_readch( int timed )
switch( sz )
{
case -1:
case (size_t)(-1):
memset (&state, '\0', sizeof (state));
debug( 2, L"Illegal input" );
return R_NULL;
case -2:
case (size_t)(-2):
break;
case 0:
return 0;