summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-23 14:14:26 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-23 14:14:26 +0800
commitcbd81a7b669bf97517ab9206ef12d29167a0fc41 (patch)
treef5df56b046a4743d2350daa5353243d15aac70bd
parent4904220051751d87461251f21e06b48ddc508589 (diff)
downloadlibpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.gz
libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.xz
libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.zip
fixes test chewing table
-rw-r--r--tests/storage/test_chewing_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp
index ba76cf0..02e855e 100644
--- a/tests/storage/test_chewing_table.cpp
+++ b/tests/storage/test_chewing_table.cpp
@@ -123,7 +123,7 @@ int main(int argc, char * argv[]) {
printf("%s\t", string);
g_free(string);
- ChewingKey chewing_buffer[1024];
+ ChewingKey chewing_buffer[MAX_PHRASE_LENGTH];
size_t npron = item.get_n_pronunciation();
guint32 freq;
for (size_t m = 0; m < npron; ++m){