diff --git a/ChangeLog b/ChangeLog index 8907658..54c6e27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -116,6 +116,8 @@ compiler warning. 28. Add a bit more sanity checking to pcre2_serialize_decode() and document that it expects trusted data. +29. Fix typo in pcre2_jit_test.c + Version 10.21 12-January-2016 ----------------------------- diff --git a/src/pcre2_jit_test.c b/src/pcre2_jit_test.c index aaff07d..dfe0032 100644 --- a/src/pcre2_jit_test.c +++ b/src/pcre2_jit_test.c @@ -1532,10 +1532,10 @@ static int regression_tests(void) is_successful = 0; } #endif -#if defined SUPPORT_PCRE2_16 && defined SUPPORT_PCRE2_16 - if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector16_1[i] || ovector16_1[i] != ovector16_2[i]) { - printf("\n16 and 16 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n", - i, ovector16_1[i], ovector16_2[i], ovector16_1[i], ovector16_2[i], +#if defined SUPPORT_PCRE2_16 && defined SUPPORT_PCRE2_32 + if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector32_1[i] || ovector16_1[i] != ovector32_2[i]) { + printf("\n16 and 32 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n", + i, ovector16_1[i], ovector16_2[i], ovector32_1[i], ovector32_2[i], total, current->pattern, current->input); is_successful = 0; }