From 8b31f79fdbf698cf8743b6bcac264efdacb19ada Mon Sep 17 00:00:00 2001 From: chpe Date: Thu, 18 Oct 2012 18:34:57 +0000 Subject: Add extra parentheses around && inside || Fixes warnings from -Wparentheses. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1125 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- pcre16_valid_utf16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcre16_valid_utf16.c') 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; -- cgit v1.2.1