(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:
parent
21bf6b41d4
commit
8054aafb9a
22 changed files with 109 additions and 113 deletions
|
@ -65,7 +65,7 @@ upd_buildeff(struct natstr *np, struct sctstr *sp, int *workp,
|
|||
int work_cost = 0;
|
||||
int buildeff_work = *workp / 2;
|
||||
int n, hcms, lcms, neweff;
|
||||
u_char old_type = *desig;
|
||||
unsigned char old_type = *desig;
|
||||
|
||||
*cost = 0;
|
||||
neweff = sp->sct_effic;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue