diff options
author | Peter Ammon <corydoras@ridiculousfish.com> | 2012-01-14 22:48:53 -0800 |
---|---|---|
committer | Peter Ammon <corydoras@ridiculousfish.com> | 2012-01-14 22:48:53 -0800 |
commit | 60d1ac4fec07320eed6bfb1c0f4729d57b06f79e (patch) | |
tree | b23bbc9fdb910002b9c877ca69756ab72211326e /tokenizer.cpp | |
parent | 9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (diff) |
More const and signed correctness. Warnings now fit on one page!
Diffstat (limited to 'tokenizer.cpp')
-rw-r--r-- | tokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.cpp b/tokenizer.cpp index cea534d4..e311d22e 100644 --- a/tokenizer.cpp +++ b/tokenizer.cpp @@ -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"); } |