summaryrefslogtreecommitdiff
path: root/pcre_refcount.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-05 19:18:12 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-05 19:18:12 +0000
commitabe09755a8ae5d60c229d36b442aebb4961537b7 (patch)
treeb15d419dc471fd15a92eb1f42df5980032f37461 /pcre_refcount.c
parent1f316699980bbdf66470a8edd1ab47c1df1a9c1a (diff)
downloadpcre-abe09755a8ae5d60c229d36b442aebb4961537b7.tar.gz
Add pcre16 prefix to 16 bit structs
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@852 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_refcount.c')
-rw-r--r--pcre_refcount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_refcount.c b/pcre_refcount.c
index 1c0475a..441e4dc 100644
--- a/pcre_refcount.c
+++ b/pcre_refcount.c
@@ -73,10 +73,10 @@ PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre_refcount(pcre *argument_re, int adjust)
#else
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
-pcre16_refcount(pcre *argument_re, int adjust)
+pcre16_refcount(pcre16 *argument_re, int adjust)
#endif
{
-real_pcre *re = (real_pcre *)argument_re;
+REAL_PCRE *re = (REAL_PCRE *)argument_re;
if (re == NULL) return PCRE_ERROR_NULL;
if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC;
if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;