diff options
author | Peng Wu <alexepico@gmail.com> | 2016-03-03 17:35:21 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-03-03 17:35:21 +0800 |
commit | 3c5ef62e8f6399f26ef95d75b235e66d94811e99 (patch) | |
tree | edd643a26e8e977e42577839e50be715f720ce3e /tests/storage | |
parent | a7efd29de74fcef6667c3e2c1695c39b3a48c477 (diff) | |
download | libpinyin-3c5ef62e8f6399f26ef95d75b235e66d94811e99.tar.gz libpinyin-3c5ef62e8f6399f26ef95d75b235e66d94811e99.tar.xz libpinyin-3c5ef62e8f6399f26ef95d75b235e66d94811e99.zip |
fixes warnings
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_phrase_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp index d1bb954..dd142de 100644 --- a/tests/storage/test_phrase_table.cpp +++ b/tests/storage/test_phrase_table.cpp @@ -62,7 +62,7 @@ int main(int argc, char * argv[]){ phrase_index.clear_tokens(tokens); retval = largetable.search(i, new_phrase, tokens); if (retval & SEARCH_CONTINUED) - printf("return continued information with length:%d\n", i); + printf("return continued information with length:%ld\n", i); } phrase_index.clear_tokens(tokens); |