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 --- sample/syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample/syntax.c') diff --git a/sample/syntax.c b/sample/syntax.c index 6bf27c5..02af2ea 100644 --- a/sample/syntax.c +++ b/sample/syntax.c @@ -20,7 +20,7 @@ extern int exec(OnigSyntaxType* syntax, ONIG_OPTION_DEFAULT, ONIG_ENCODING_ASCII, syntax, &einfo); if (r != ONIG_NORMAL) { 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(stderr, "ERROR: %s\n", s); return -1; } @@ -44,7 +44,7 @@ extern int exec(OnigSyntaxType* syntax, } else { /* error */ char s[ONIG_MAX_ERROR_MESSAGE_LEN]; - onig_error_code_to_str(s, r); + onig_error_code_to_str((UChar* )s, r); fprintf(stderr, "ERROR: %s\n", s); return -1; } -- cgit v1.2.3