summaryrefslogtreecommitdiffstats
path: root/scintilla/src/RESearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/RESearch.cxx')
-rw-r--r--scintilla/src/RESearch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scintilla/src/RESearch.cxx b/scintilla/src/RESearch.cxx
index 2a6bab8..d3da8fb 100644
--- a/scintilla/src/RESearch.cxx
+++ b/scintilla/src/RESearch.cxx
@@ -788,7 +788,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) {
}
case CHR: /* ordinary char: locate it fast */
c = *(ap+1);
- while ((lp < endp) && (ci.CharAt(lp) != c))
+ while ((lp < endp) && (static_cast<unsigned char>(ci.CharAt(lp)) != c))
lp++;
if (lp >= endp) /* if EOS, fail, else fall thru. */
return 0;