summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_phrase_index.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-10-15 14:32:12 +0800
committerPeng Wu <alexepico@gmail.com>2010-10-15 14:32:12 +0800
commit0a0630746d37cb0088eea1e7d1420e76d5dd0d7f (patch)
tree6b24273f176c6a0cd91ca450c0a4672aa0e257d6 /tests/storage/test_phrase_index.cpp
parentc41635080ec47ed414e1180212b30866a673eb44 (diff)
downloadlibpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.gz
libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.xz
libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.zip
fixes compile warnings
Diffstat (limited to 'tests/storage/test_phrase_index.cpp')
-rw-r--r--tests/storage/test_phrase_index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp
index d71ce6d..c5d5828 100644
--- a/tests/storage/test_phrase_index.cpp
+++ b/tests/storage/test_phrase_index.cpp
@@ -64,7 +64,7 @@ int main(int argc, char * argv[]){
PhraseItem item2;
guint32 time = record_time();
- for ( int i = 0; i < bench_times; ++i){
+ for ( size_t i = 0; i < bench_times; ++i){
phrase_index.get_phrase_item(1, item2);
assert(item2.get_unigram_frequency() == 0);
assert(item2.get_n_pronunciation() == 2);