Mercurial > freewnn
comparison Wnn/jserver/rd_jishoop.c @ 3:ed4bb01eb317
- suppress warnings.
- partially fixed comparison between pointer and 0.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 19:53:14 +0900 |
parents | 790205f476c0 |
children | 6bfa7ea3b75b |
comparison
equal
deleted
inserted
replaced
2:b605a0e60f5b | 3:ed4bb01eb317 |
---|---|
287 return (-1); | 287 return (-1); |
288 | 288 |
289 p = jtl->ri2 + serial; | 289 p = jtl->ri2 + serial; |
290 get_kanji_str (jtl->kanji + p->kanjipter, NULL, yomi, NULL); | 290 get_kanji_str (jtl->kanji + p->kanjipter, NULL, yomi, NULL); |
291 | 291 |
292 jd->kanji1 = (UCHAR *)p->kanjipter; | 292 jd->kanji1 = p->kanjipter; // xxx this may result in failure --yaz |
293 jd->kanji2 = 0; | 293 jd->kanji2 = 0; |
294 jd->serial = serial; | 294 jd->serial = serial; |
295 jd->kosuu = 1; | 295 jd->kosuu = 1; |
296 jd->jishono = dic_no; | 296 jd->jishono = dic_no; |
297 jd->jptr = NULL; | 297 jd->jptr = NULL; |