diff options
Diffstat (limited to 'pcre16_valid_utf16.c')
-rw-r--r-- | pcre16_valid_utf16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre16_valid_utf16.c b/pcre16_valid_utf16.c index 6e7855d..c06023a 100644 --- a/pcre16_valid_utf16.c +++ b/pcre16_valid_utf16.c @@ -102,7 +102,7 @@ for (p = string; length-- > 0; p++) /* Normal UTF-16 code point. Neither high nor low surrogate. */ /* Check for non-characters */ - if ((c & 0xfffeu) == 0xfffeu || c >= 0xfdd0u && c <= 0xfdefu) + if ((c & 0xfffeu) == 0xfffeu || (c >= 0xfdd0u && c <= 0xfdefu)) { *erroroffset = p - string; return PCRE_UTF16_ERR4; |