From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 17 Jan 2016 14:31:59 +0000 (+0000)
Subject: Fix compiler warnings
X-Git-Tag: v_3_0_24~20
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@edit-actions-url-form?a=commitdiff_plain;h=777f23fd554b0811d16bc2323ced6fe9dc0cff72;p=privoxy.git

Fix compiler warnings
---

diff --git a/pcre/pcre.c b/pcre/pcre.c
index 1297ed99..1e602df4 100644
--- a/pcre/pcre.c
+++ b/pcre/pcre.c
@@ -3013,12 +3013,12 @@ while ((c = *(++ptr)) != 0)
 
       runlength++;
 
-      if (ptr > pattern + pattern_length)
+      if ((const char *)ptr > pattern + pattern_length)
         {
         *errorptr = "internal error";
         goto PCRE_ERROR_RETURN;
         }
-      if (ptr[1] >= tables_length - ctypes_offset)
+      if ((int)ptr[1] >= tables_length - ctypes_offset)
         {
         *errorptr = ERR6;
         goto PCRE_ERROR_RETURN;