(u_char, u_short, u_int): BSDisms. Figuring out whether sys/types.h

defines them would be possible, but isn't worth the trouble.  Replace
by unabbreviated types.
This commit is contained in:
Markus Armbruster 2006-03-25 07:05:34 +00:00
parent 21bf6b41d4
commit 8054aafb9a
22 changed files with 109 additions and 113 deletions

View file

@ -63,8 +63,8 @@ struct plnstr {
short pln_mission; /* mission code */
short pln_radius; /* mission radius */
/* end of part matching struct genitem */
u_char pln_range; /* total distance, not radius */
u_char pln_range_max; /* max range for this plane */
unsigned char pln_range; /* total distance, not radius */
unsigned char pln_range_max; /* max range for this plane */
short pln_ship; /* pointer to carrier */
short pln_land; /* pointer to carrier */
int pln_att; /* plane air-air attack/defense values */