Change ichrstr member i_mnen to char.

This commit is contained in:
Markus Armbruster 2006-02-11 07:41:34 +00:00
parent c50c2d2518
commit 94ef2f4275
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ typedef enum {
} ATTRIBUTE((packed)) i_type; } ATTRIBUTE((packed)) i_type;
struct ichrstr { struct ichrstr {
int i_mnem; /* usually the initial letter */ char i_mnem; /* usually the initial letter */
i_type i_vtype; /* var type */ i_type i_vtype; /* var type */
int i_value; /* mortgage value */ int i_value; /* mortgage value */
int i_sell; /* can this be sold? */ int i_sell; /* can this be sold? */

View file

@ -88,7 +88,7 @@ struct castr ichr_ca[] = {
{NSC_SITYPE(i_type), 0, 0, offsetof(struct ichrstr, i_vtype), "vtype", {NSC_SITYPE(i_type), 0, 0, offsetof(struct ichrstr, i_vtype), "vtype",
EF_ITEM}, EF_ITEM},
{NSC_STRING, 0, 0, offsetof(struct ichrstr, i_name), "name", EF_BAD}, {NSC_STRING, 0, 0, offsetof(struct ichrstr, i_name), "name", EF_BAD},
{NSC_INT, NSC_CONST, 0, offsetof(struct ichrstr, i_mnem), "mnem", EF_BAD}, {NSC_STRINGY, NSC_CONST, 1, offsetof(struct ichrstr, i_mnem), "mnem", EF_BAD},
{NSC_INT, 0, 0, offsetof(struct ichrstr, i_value), "value", EF_BAD}, {NSC_INT, 0, 0, offsetof(struct ichrstr, i_value), "value", EF_BAD},
{NSC_INT, 0, 0, offsetof(struct ichrstr, i_sell), "sell", EF_BAD}, {NSC_INT, 0, 0, offsetof(struct ichrstr, i_sell), "sell", EF_BAD},
{NSC_INT, 0, 0, offsetof(struct ichrstr, i_lbs), "lbs", EF_BAD}, {NSC_INT, 0, 0, offsetof(struct ichrstr, i_lbs), "lbs", EF_BAD},