projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe4228
)
Fix compiler warnings
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jan 2016 14:31:59 +0000
(14:31 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jan 2016 14:31:59 +0000
(14:31 +0000)
pcre/pcre.c
patch
|
blob
|
history
diff --git
a/pcre/pcre.c
b/pcre/pcre.c
index
1297ed9
..
1e602df
100644
(file)
--- 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;