diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pcre_jit_test.c | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -91,6 +91,8 @@ Version 8.39 21-May-2016 24. Refactor to avoid compiler warnings in pcrecpp.cc. +25. Refactor to fix a typo in pcre_jit_test.c + Version 8.38 23-November-2015 ----------------------------- diff --git a/pcre_jit_test.c b/pcre_jit_test.c index 01f549d..9b61ec0 100644 --- a/pcre_jit_test.c +++ b/pcre_jit_test.c @@ -1560,10 +1560,10 @@ static int regression_tests(void) is_successful = 0; } #endif -#if defined SUPPORT_PCRE16 && defined SUPPORT_PCRE16 - 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_PCRE16 && defined SUPPORT_PCRE32 + 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; } |