summaryrefslogtreecommitdiffstats
path: root/tests/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-03-03 17:35:21 +0800
committerPeng Wu <alexepico@gmail.com>2016-03-03 17:35:21 +0800
commit3c5ef62e8f6399f26ef95d75b235e66d94811e99 (patch)
treeedd643a26e8e977e42577839e50be715f720ce3e /tests/storage
parenta7efd29de74fcef6667c3e2c1695c39b3a48c477 (diff)
downloadlibpinyin-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.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 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);