From 81762881a46eb4fe6a7cc17faf9a4d4397ab1b10 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Mon, 12 Mar 2018 13:41:31 +0900 Subject: [PATCH] remove tab --- sample/callout.c | 2 +- sample/count.c | 2 +- sample/echo.c | 2 +- src/regparse.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sample/callout.c b/sample/callout.c index 54d6bc9..5273ba6 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -133,7 +133,7 @@ test(OnigEncoding enc, char* in_pattern, char* in_str) str = (UChar* )in_str; r = onig_new(®, pattern, pattern + strlen((char* )pattern), - ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); + ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); if (r != ONIG_NORMAL) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; onig_error_code_to_str((UChar* )s, r, &einfo); diff --git a/sample/count.c b/sample/count.c index 20a21f7..0f0e1f2 100644 --- a/sample/count.c +++ b/sample/count.c @@ -23,7 +23,7 @@ test(OnigEncoding enc, OnigMatchParam* mp, char* in_pattern, char* in_str) str = (UChar* )in_str; r = onig_new(®, pattern, pattern + ulen(enc, pattern), - ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); + ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); if (r != ONIG_NORMAL) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; onig_error_code_to_str((UChar* )s, r, &einfo); diff --git a/sample/echo.c b/sample/echo.c index 7bb997b..76df207 100644 --- a/sample/echo.c +++ b/sample/echo.c @@ -59,7 +59,7 @@ test(OnigEncoding enc, char* in_pattern, char* in_str) str = (UChar* )in_str; r = onig_new(®, pattern, pattern + strlen((char* )pattern), - ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); + ONIG_OPTION_DEFAULT, enc, ONIG_SYNTAX_DEFAULT, &einfo); if (r != ONIG_NORMAL) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; onig_error_code_to_str((UChar* )s, r, &einfo); diff --git a/src/regparse.c b/src/regparse.c index 4ececf9..f38d439 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -1802,7 +1802,7 @@ onig_get_callout_num_by_tag(regex_t* reg, return ONIGERR_INVALID_CALLOUT_TAG_NAME; r = onig_st_lookup_strend(ext->tag_table, tag, tag_end, - (HashDataType* )((void* )(&e))); + (HashDataType* )((void* )(&e))); if (r == 0) return ONIGERR_INVALID_CALLOUT_TAG_NAME; return (int )e; } @@ -2529,7 +2529,7 @@ onig_free_reg_callout_list(int n, CalloutListEntry* list) } else { /* ONIG_CALLOUT_OF_CONTENTS */ if (IS_NOT_NULL(list[i].u.content.start)) { - xfree((void* )list[i].u.content.start); + xfree((void* )list[i].u.content.start); } } } -- 2.40.0