summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_chewing_table.cpp
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 /tests/storage/test_chewing_table.cpp
parent4904220051751d87461251f21e06b48ddc508589 (diff)
downloadlibpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.zip
libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.gz
libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.xz
fixes test chewing table
Diffstat (limited to 'tests/storage/test_chewing_table.cpp')
-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){