diff options
author | 2012-01-14 22:32:45 -0800 | |
---|---|---|
committer | 2012-01-14 22:32:45 -0800 | |
commit | 9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (patch) | |
tree | e846e195756904d8c007ae1f33e77a53d696102c /highlight.cpp | |
parent | 203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (diff) |
Improve const and signed/unsigned correctness
Diffstat (limited to 'highlight.cpp')
-rw-r--r-- | highlight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/highlight.cpp b/highlight.cpp index 002dbc70..c9f0d7ef 100644 --- a/highlight.cpp +++ b/highlight.cpp @@ -1039,7 +1039,7 @@ static void highlight_universal_internal( const wchar_t * buff, int pos ) { - if( (pos >= 0) && (pos < wcslen(buff)) ) + if( (pos >= 0) && ((size_t)pos < wcslen(buff)) ) { /* |