diff options
| author | 2011-09-22 23:47:38 +0000 | |
|---|---|---|
| committer | 2011-09-22 23:47:38 +0000 | |
| commit | d1f99ac8029b599da11f531720ce55191fa63da6 (patch) | |
| tree | 9366a6fa588cdbf3e49eef4cd382c94ea493e72a /usr.sbin/nginx/src | |
| parent | pick the internal pcre up and use that (diff) | |
| download | wireguard-openbsd-d1f99ac8029b599da11f531720ce55191fa63da6.tar.xz wireguard-openbsd-d1f99ac8029b599da11f531720ce55191fa63da6.zip | |
fix two signed/unsigned comparsions
Diffstat (limited to 'usr.sbin/nginx/src')
| -rw-r--r-- | usr.sbin/nginx/src/pcre/pcre_compile.c | 2 | ||||
| -rw-r--r-- | usr.sbin/nginx/src/pcre/pcre_fullinfo.c | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/usr.sbin/nginx/src/pcre/pcre_fullinfo.c b/usr.sbin/nginx/src/pcre/pcre_fullinfo.c index 6b8d789a232..e25fc50623e 100644 --- a/usr.sbin/nginx/src/pcre/pcre_fullinfo.c +++ b/usr.sbin/nginx/src/pcre/pcre_fullinfo.c @@ -126,7 +126,7 @@ switch (what) case PCRE_INFO_MINLENGTH: *((int *)where) = (study != NULL && (study->flags & PCRE_STUDY_MINLEN) != 0)? - study->minlength : -1; + (int)study->minlength : -1; break; case PCRE_INFO_LASTLITERAL: |
