]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fts: test-fts-tokenizer - Change test_chars to unsigned char
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 1 Sep 2020 08:56:42 +0000 (11:56 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 22 Oct 2020 12:16:15 +0000 (12:16 +0000)
src/lib-fts/test-fts-tokenizer.c

index fcd4c6a329ce8f62347970709ac41d8e721b799c..da04aa53b7d20ed48b4858c81eb11d8816edcfef 100644 (file)
@@ -475,7 +475,7 @@ static void test_fts_tokenizer_address_maxlen(void)
 
 static void test_fts_tokenizer_random(void)
 {
-       const char test_chars[] = { 0, ' ', '.', 'a', 'b', 'c', '-', '@', '\xC3', '\xA4' };
+       const unsigned char test_chars[] = { 0, ' ', '.', 'a', 'b', 'c', '-', '@', '\xC3', '\xA4' };
        const char *const settings[] = {"algorithm", "simple", NULL};
        const char *const email_settings[] = {"maxlen", "9", NULL};
        unsigned int i;