diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-04 10:42:17 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-04 10:42:17 +0000 |
commit | 5d21bb98d579cb16675f5c2be3ee77f23b74f43e (patch) | |
tree | 999a53f767045e2f627c5d15a18bb79e39bb83a6 /pcre_fullinfo.c | |
parent | 3664d442e9e4d00efd8e0b8efcf78df9dd42a619 (diff) | |
download | pcre-5d21bb98d579cb16675f5c2be3ee77f23b74f43e.tar.gz |
Fix type error in PCRE_INFO_{MATCH,RECURSION}LIMIT.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1323 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_fullinfo.c')
-rw-r--r-- | pcre_fullinfo.c | 4 |
1 files 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; |