summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_phrase_table.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-02-21 14:09:32 +0800
committerPeng Wu <alexepico@gmail.com>2012-02-21 14:09:32 +0800
commit62dffb4c3615c275d514ee9428d1688770c6173b (patch)
tree13bc21f7052d15c1fefae58f7d9cc62f6a3d810f /tests/storage/test_phrase_table.cpp
parent5deda46d8f6c8e922cc31e7958d3558589bb7260 (diff)
downloadlibpinyin-62dffb4c3615c275d514ee9428d1688770c6173b.tar.gz
libpinyin-62dffb4c3615c275d514ee9428d1688770c6173b.tar.xz
libpinyin-62dffb4c3615c275d514ee9428d1688770c6173b.zip
update tests directory
Diffstat (limited to 'tests/storage/test_phrase_table.cpp')
-rw-r--r--tests/storage/test_phrase_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp
index a4e3a30..2907948 100644
--- a/tests/storage/test_phrase_table.cpp
+++ b/tests/storage/test_phrase_table.cpp
@@ -37,7 +37,7 @@ int main(int argc, char * argv[]){
break;
glong phrase_len = g_utf8_strlen(linebuf, -1);
- utf16_t * new_phrase = g_utf8_to_utf16(linebuf, -1, NULL, NULL, NULL);
+ ucs4_t * new_phrase = g_utf8_to_ucs4(linebuf, -1, NULL, NULL, NULL);
phrase_token_t token;
guint32 start = record_time();