summaryrefslogtreecommitdiff
path: root/src/pcre2_valid_utf.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2014-07-04 16:26:09 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2014-07-04 16:26:09 +0000
commit9e3d44452fdc74a4a6a22a35a889050dd9b2c59b (patch)
tree5702bbcc37d61480d74f55d484213a4257697829 /src/pcre2_valid_utf.c
parent80d7f11a1c1523dd5e488c97d000cfd6c3d1a3e8 (diff)
downloadpcre2-9e3d44452fdc74a4a6a22a35a889050dd9b2c59b.tar.gz
Compiling with --disalbe-stack-for-recursion is working. Introduce PCRE2_OFFSET
for offset values. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@26 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_valid_utf.c')
-rw-r--r--src/pcre2_valid_utf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcre2_valid_utf.c b/src/pcre2_valid_utf.c
index ccda391..9f68409 100644
--- a/src/pcre2_valid_utf.c
+++ b/src/pcre2_valid_utf.c
@@ -58,7 +58,7 @@ strings. */
/* This function should never be called when UTF is not supported. */
int
-PRIV(valid_utf)(PCRE2_SPTR string, int length, size_t *erroroffset)
+PRIV(valid_utf)(PCRE2_SPTR string, int length, PCRE2_OFFSET *erroroffset)
{
(void)string;
(void)length;
@@ -89,7 +89,7 @@ Returns: == 0 if the string is a valid UTF string
*/
int
-PRIV(valid_utf)(PCRE2_SPTR string, int length, size_t *erroroffset)
+PRIV(valid_utf)(PCRE2_SPTR string, int length, PCRE2_OFFSET *erroroffset)
{
register PCRE2_SPTR p;
register uint32_t c;