Tests exhibiting pcre_fullinfo() failed on 64-bit PowerPC because
there was mismatch on destination variable size in
PCRE_INFO_MATCHLIMIT and PCRE_INFO_RECURSIONLIMIT cases.
---
pcre_fullinfo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pcre_fullinfo.c b/pcre_fullinfo.c
index 36dfb0e..c4eb5c0 100644
--- a/pcre_fullinfo.c
+++ b/pcre_fullinfo.c
@@ -224,12 +224,12 @@ switch (what)
case PCRE_INFO_MATCHLIMIT:
if ((re->flags & PCRE_MLSET) == 0) return PCRE_ERROR_UNSET;
- *((unsigned long int *)where) = re->limit_match;
+ *((pcre_uint32 *)where) = re->limit_match;
break;
case PCRE_INFO_RECURSIONLIMIT:
if ((re->flags & PCRE_RLSET) == 0) return PCRE_ERROR_UNSET;
- *((unsigned long int *)where) = re->limit_recursion;
+ *((pcre_uint32 *)where) = re->limit_recursion;
break;
default: return PCRE_ERROR_BADOPTION;
--
1.8.1.4