Mercurial > freewnn
diff Wnn/etc/bdic.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 | bbc77ca4def5 |
children | a7ccf412ba02 |
line wrap: on
line diff
--- a/Wnn/etc/bdic.c Thu Dec 13 17:42:01 2007 +0900 +++ b/Wnn/etc/bdic.c Thu Dec 13 19:53:14 2007 +0900 @@ -1204,7 +1204,7 @@ || get_int (&jt1->maxhontai, ifpter) == -1 || get_int (&jt1->gosuu, ifpter) == -1 || get_nstring (ifpter, WNN_PASSWD_LEN, jt1->hpasswd) == -1 - || get_int (&jt1->total, ifpter) == -1 + || get_int ((int *)&jt1->total, ifpter) == -1 || get_int (&jt1->maxri1[D_YOMI], ifpter) == -1 || get_int (&jt1->maxri1[D_KANJI], ifpter) == -1 || get_int (&jt1->maxri2, ifpter) == -1