From 0a0630746d37cb0088eea1e7d1420e76d5dd0d7f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 15 Oct 2010 14:32:12 +0800 Subject: fixes compile warnings --- tests/storage/test_phrase_index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/storage/test_phrase_index.cpp') 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); -- cgit