More const and signed correctness. Warnings now fit on one page!

This commit is contained in:
Peter Ammon
2012-01-14 22:48:53 -08:00
parent 9b133a978d
commit 60d1ac4fec
8 changed files with 20 additions and 25 deletions

View File

@@ -507,7 +507,7 @@ static int my_iswspace( wchar_t c )
const wchar_t *tok_get_desc( int type )
{
if( type < 0 || type >= sizeof( tok_desc ) )
if( type < 0 || (size_t)type >= sizeof( tok_desc ) )
{
return _(L"Invalid token type");
}