summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage/test_parser.cpp')
-rw-r--r--tests/storage/test_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_parser.cpp b/tests/storage/test_parser.cpp
index 7467e8a..fe870a3 100644
--- a/tests/storage/test_parser.cpp
+++ b/tests/storage/test_parser.cpp
@@ -135,7 +135,7 @@ int main (int argc, char * argv [])
for ( size_t i=0; i < poses->len; ++i){
PinyinKeyPos * pos = &g_array_index(poses, PinyinKeyPos, i);
- printf("%d %d ", pos->get_pos(), pos->get_length());
+ printf("%d %ld ", pos->get_pos(), pos->get_length());
}
printf("\n");