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/lookup | |
parent | c41635080ec47ed414e1180212b30866a673eb44 (diff) | |
download | libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.gz libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.tar.xz libpinyin-0a0630746d37cb0088eea1e7d1420e76d5dd0d7f.zip |
fixes compile warnings
Diffstat (limited to 'tests/lookup')
-rw-r--r-- | tests/lookup/test_simple_lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp index 7039f45..ccbacf8 100644 --- a/tests/lookup/test_simple_lookup.cpp +++ b/tests/lookup/test_simple_lookup.cpp @@ -87,7 +87,7 @@ int main( int argc, char * argv[]){ phrase_token_t * token = &g_array_index(results, phrase_token_t, i); if ( NULL == *token) continue; - printf("pos:%d,token:%d\t", i, *token); + printf("pos:%ld,token:%d\t", i, *token); } printf("\n"); char * sentence = NULL; |