changed code to get rid of some type conversion warnings

This commit is contained in:
hyunghwan.chung
2018-02-26 15:30:38 +00:00
parent f9372e9d61
commit 18ca2b30a0
9 changed files with 138 additions and 106 deletions

View File

@ -1103,7 +1103,7 @@ typedef void (*moo_mod_gc_t) (
struct moo_mod_t
{
/* input */
const moo_ooch_t name[MOO_MOD_NAME_LEN_MAX + 1];
/*const*/ moo_ooch_t name[MOO_MOD_NAME_LEN_MAX + 1];
/*const*/ int hints; /* bitwised-ORed of moo_mod_hint_t enumerators */
/* user-defined data */
@ -1342,7 +1342,7 @@ struct moo_t
{
struct
{
moo_uch_t* ptr;
moo_ooch_t* ptr;
moo_oow_t capa;
moo_oow_t len;
} xbuf;