summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-28 15:58:24 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-28 15:58:24 +0000
commit0b0b2503f263550eece2de163824b4f9a7d95e20 (patch)
treeae29573cc2c62072de7f29cb65bc82847a1b0994 /src
parenta0ec5a230a71ab8d870190c6153dc540d0885f67 (diff)
downloadpcre2-0b0b2503f263550eece2de163824b4f9a7d95e20.tar.gz
Correct tables argument data type for pcre2_set_character_tables() and fix
documentation for pcre2_maketables(). git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1146 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src')
-rw-r--r--src/pcre2.h.in2
-rw-r--r--src/pcre2_context.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pcre2.h.in b/src/pcre2.h.in
index 1c48ae5..1208d32 100644
--- a/src/pcre2.h.in
+++ b/src/pcre2.h.in
@@ -584,7 +584,7 @@ PCRE2_EXP_DECL void PCRE2_CALL_CONVENTION \
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
pcre2_set_bsr(pcre2_compile_context *, uint32_t); \
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
- pcre2_set_character_tables(pcre2_compile_context *, const unsigned char *); \
+ pcre2_set_character_tables(pcre2_compile_context *, const uint8_t *); \
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
pcre2_set_compile_extra_options(pcre2_compile_context *, uint32_t); \
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
diff --git a/src/pcre2_context.c b/src/pcre2_context.c
index 9c2886a..f904a49 100644
--- a/src/pcre2_context.c
+++ b/src/pcre2_context.c
@@ -323,7 +323,7 @@ data. */
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION
pcre2_set_character_tables(pcre2_compile_context *ccontext,
- const unsigned char *tables)
+ const uint8_t *tables)
{
ccontext->tables = tables;
return 0;