mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
More const and signed correctness. Warnings now fit on one page!
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user