From 42f9a5e9e754ec59648815df63e95543d5bbc1dc Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Tue, 14 Jun 2016 09:19:24 +0000 Subject: [PATCH] Fix typo that gave compiler error when JIT not supported. --- ChangeLog | 2 ++ src/pcre2_jit_compile.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 81cb77e..5a532ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -130,6 +130,8 @@ RunTest (see 4 above). 32. Implemented the PCRE2_NO_JIT option for pcre2_match(). +33. Fix typo that gave a compiler error when JIT not supported. + Version 10.21 12-January-2016 ----------------------------- diff --git a/src/pcre2_jit_compile.c b/src/pcre2_jit_compile.c index 5349475..c98f977 100644 --- a/src/pcre2_jit_compile.c +++ b/src/pcre2_jit_compile.c @@ -11440,7 +11440,7 @@ Returns: 0: success or (*NOJIT) was used (PCRE2_JIT_COMPLETE|PCRE2_JIT_PARTIAL_SOFT|PCRE2_JIT_PARTIAL_HARD) PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION -pcre2_jit_compile(pcre2_code *code, sljit_u32 options) +pcre2_jit_compile(pcre2_code *code, uint32_t options) { #ifndef SUPPORT_JIT