diff options
author | Peng Wu <alexepico@gmail.com> | 2010-10-15 14:32:12 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-10-15 14:32:12 +0800 |
commit | 0a0630746d37cb0088eea1e7d1420e76d5dd0d7f (patch) | |
tree | 6b24273f176c6a0cd91ca450c0a4672aa0e257d6 /tests/storage/test_parser.cpp | |
parent | c41635080ec47ed414e1180212b30866a673eb44 (diff) | |
download | libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.gz libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.xz libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.zip |
fixes compile warnings
Diffstat (limited to 'tests/storage/test_parser.cpp')
-rw-r--r-- | tests/storage/test_parser.cpp | 2 |
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"); |