summaryrefslogtreecommitdiff
path: root/plugin/fulltext/plugin_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/fulltext/plugin_example.c')
-rw-r--r--plugin/fulltext/plugin_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fulltext/plugin_example.c b/plugin/fulltext/plugin_example.c
index f39ff6a78fd..e00de3f8118 100644
--- a/plugin/fulltext/plugin_example.c
+++ b/plugin/fulltext/plugin_example.c
@@ -145,7 +145,7 @@ static int simple_parser_deinit(MYSQL_FTPARSER_PARAM *param
the list of search terms when parsing a search string.
*/
-static void add_word(MYSQL_FTPARSER_PARAM *param, const unsigned char *word, size_t len)
+static void add_word(MYSQL_FTPARSER_PARAM *param, const char *word, size_t len)
{
MYSQL_FTPARSER_BOOLEAN_INFO bool_info=
{ FT_TOKEN_WORD, 0, 0, 0, 0, ' ', 0 };
@@ -169,7 +169,7 @@ static void add_word(MYSQL_FTPARSER_PARAM *param, const unsigned char *word, siz
static int simple_parser_parse(MYSQL_FTPARSER_PARAM *param)
{
- const unsigned char *end, *start, *docend= param->doc + param->length;
+ const char *end, *start, *docend= param->doc + param->length;
number_of_calls++;