summaryrefslogtreecommitdiff
path: root/pcre_byte_order.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_byte_order.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_byte_order.c')
-rw-r--r--pcre_byte_order.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_byte_order.c b/pcre_byte_order.c
index 09f8c4a..6ac8325 100644
--- a/pcre_byte_order.c
+++ b/pcre_byte_order.c
@@ -99,11 +99,11 @@ Returns: 0 if the swap is successful, negative on error
PCRE_EXP_DECL int pcre_pattern_to_host_byte_order(pcre *argument_re,
pcre_extra *extra_data, const unsigned char *tables)
#else
-PCRE_EXP_DECL int pcre16_pattern_to_host_byte_order(pcre *argument_re,
+PCRE_EXP_DECL int pcre16_pattern_to_host_byte_order(pcre16 *argument_re,
pcre16_extra *extra_data, const unsigned char *tables)
#endif
{
-real_pcre *re = (real_pcre *)argument_re;
+REAL_PCRE *re = (REAL_PCRE *)argument_re;
pcre_study_data *study;
#ifndef COMPILE_PCRE8
pcre_uchar *ptr;