Mercurial > freewnn
diff Wnn/jserver/do_henkan1.c @ 1:790205f476c0
applied wnn_dec12.diff
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 04:47:24 +0900 |
parents | bbc77ca4def5 |
children | ed4bb01eb317 |
line wrap: on
line diff
--- a/Wnn/jserver/do_henkan1.c Thu Dec 13 04:30:14 2007 +0900 +++ b/Wnn/jserver/do_henkan1.c Thu Dec 13 04:47:24 2007 +0900 @@ -435,7 +435,7 @@ register struct JT *jtl; jtl = (struct JT *) (files[dic_table[jentptr->jishono].body].area); - kptr = jtl->kanji + jentptr->kanji1; + kptr = (long)jtl->kanji + jentptr->kanji1; // xxx which one is the offset?? --yaz if (jentptr->which == D_YOMI) { Get_knj1 (kptr, oy, oyl, jentptr->kanji2 + u, kouho, NULL, NULL); @@ -474,6 +474,6 @@ struct JT *jtl; jtl = (struct JT *) (files[dic_table[jentptr->jishono].body].area); - kptr = jtl->kanji + jentptr->kanji1; + kptr = (long)jtl->kanji + jentptr->kanji1; Get_knj2 (kptr, jentptr->kanji2 + u, kouho, NULL, com); }