From 10abcf77cc24dfae451d96310b4391dad35906ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 20 Mar 2018 06:14:49 +0100 Subject: New upstream version 6.8.1 --- test/testu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/testu.c') diff --git a/test/testu.c b/test/testu.c index d037194..d2bb9ee 100644 --- a/test/testu.c +++ b/test/testu.c @@ -139,7 +139,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) if (r) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; - onig_error_code_to_str(s, r, &einfo); + onig_error_code_to_str((UChar* )s, r, &einfo); fprintf(err_file, "ERROR: %s\n", s); nerror++; return ; @@ -150,7 +150,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) region, ONIG_OPTION_NONE); if (r < ONIG_MISMATCH) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; - onig_error_code_to_str(s, r); + onig_error_code_to_str((UChar* )s, r); fprintf(err_file, "ERROR: %s\n", s); nerror++; return ; -- cgit v1.2.3