diff options
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)) ) { /* |