File libchewing-gcc-fix.diff of Package libchewing

--- src/tree.c~	2011-03-13 20:57:14.000000000 +0800
+++ src/tree.c	2011-03-13 20:57:14.000000000 +0800
@@ -964,7 +964,7 @@
 
 	/* set phrasing output */
 	OutputRecordStr(
-		ppo->chiBuf, sizeof(ppo->chiBuf),
+		ppo->chiBuf, sizeof(ppo->chiBuf)-strlen(ppo->chiBuf)-1,
 		( treeData.phList )->arrIndex, 
 		( treeData.phList )->nInter, 
 		phoneSeq, 
openSUSE Build Service is sponsored by