summaryrefslogtreecommitdiff
path: root/myisam/ft_boolean_search.c
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2005-09-23 16:47:08 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2005-09-23 16:47:08 +0300
commitacf218b708c68f5fff9fea9450a438116866f1d5 (patch)
treedabaf9b38c2c72433e000b36b0a628d9d36fbb38 /myisam/ft_boolean_search.c
parentf5c00b0dbda74c899067880ac0de5c489d54b19f (diff)
downloadmariadb-git-acf218b708c68f5fff9fea9450a438116866f1d5.tar.gz
Several fixes revelaled by Intel compiler.
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r--myisam/ft_boolean_search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c
index c18984c7584..19f0ef77136 100644
--- a/myisam/ft_boolean_search.c
+++ b/myisam/ft_boolean_search.c
@@ -473,7 +473,8 @@ static int _ftb_check_phrase(const byte *s0, const byte *e0,
for (;;)
{
n_word= (FT_WORD *)phrase_element->data;
- if (my_strnncoll(cs, h_word.pos, h_word.len, n_word->pos, n_word->len))
+ if (my_strnncoll(cs, (const uchar *) h_word.pos, h_word.len,
+ (const uchar *) n_word->pos, n_word->len))
break;
if (! (phrase_element= phrase_element->next))
DBUG_RETURN(1);