summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_phrase_index.cpp
diff options
context:
space:
mode:
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);