diff options
Diffstat (limited to 'tests/test_pinyin.cpp')
-rw-r--r-- | tests/test_pinyin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index afde14f..dc7c366 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -30,8 +30,8 @@ int main(int argc, char * argv[]){ pinyin_instance_t * instance = pinyin_alloc_instance(context); - char * linebuf = NULL; char * prefixbuf = NULL; - size_t linesize = 0; size_t prefixsize = 0; + char * prefixbuf = NULL; size_t prefixsize = 0; + char * linebuf = NULL; size_t linesize = 0; ssize_t read; while( TRUE ){ |