summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/pcre/pcre_compile.c
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2011-09-22 23:47:38 +0000
committerrobert <robert@openbsd.org>2011-09-22 23:47:38 +0000
commitd1f99ac8029b599da11f531720ce55191fa63da6 (patch)
tree9366a6fa588cdbf3e49eef4cd382c94ea493e72a /usr.sbin/nginx/src/pcre/pcre_compile.c
parentpick the internal pcre up and use that (diff)
downloadwireguard-openbsd-d1f99ac8029b599da11f531720ce55191fa63da6.tar.xz
wireguard-openbsd-d1f99ac8029b599da11f531720ce55191fa63da6.zip
fix two signed/unsigned comparsions
Diffstat (limited to 'usr.sbin/nginx/src/pcre/pcre_compile.c')
-rw-r--r--usr.sbin/nginx/src/pcre/pcre_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/pcre/pcre_compile.c b/usr.sbin/nginx/src/pcre/pcre_compile.c
index e72869696f6..9fe396ca99d 100644
--- a/usr.sbin/nginx/src/pcre/pcre_compile.c
+++ b/usr.sbin/nginx/src/pcre/pcre_compile.c
@@ -4025,7 +4025,7 @@ for (;; ptr++)
if ((options & PCRE_CASELESS) != 0)
{
unsigned int othercase;
- if ((othercase = UCD_OTHERCASE(c)) != c)
+ if ((othercase = UCD_OTHERCASE(c)) != (unsigned int)c)
{
*class_utf8data++ = XCL_SINGLE;
class_utf8data += _pcre_ord2utf8(othercase, class_utf8data);