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_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/storage/test_parser.cpp') 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"); -- cgit