summaryrefslogtreecommitdiff
path: root/pcre_valid_utf8.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-28 17:10:56 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-28 17:10:56 +0000
commitdf015980268d2847a4a37ce979329fff452108cb (patch)
treec1622a47b658f419f3c5293b21d0f874ef85d71c /pcre_valid_utf8.c
parentd68b5cc516926d0238fe730aff2e5ad4b3f363ef (diff)
downloadpcre-df015980268d2847a4a37ce979329fff452108cb.tar.gz
Further USPTR additions.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@409 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_valid_utf8.c')
-rw-r--r--pcre_valid_utf8.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcre_valid_utf8.c b/pcre_valid_utf8.c
index c53da33..d381ad6 100644
--- a/pcre_valid_utf8.c
+++ b/pcre_valid_utf8.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2008 University of Cambridge
+ Copyright (c) 1997-2009 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -75,10 +75,10 @@ Returns: < 0 if the string is a valid UTF-8 string
*/
int
-_pcre_valid_utf8(const uschar *string, int length)
+_pcre_valid_utf8(USPTR string, int length)
{
#ifdef SUPPORT_UTF8
-register const uschar *p;
+register USPTR p;
if (length < 0)
{