(ontradingblock, trdswitchown): Second parameter is a generic pointer,
change it from int * to void *. Callers changed not to cast to int *.
This commit is contained in:
parent
05f64e8c3f
commit
79714720cc
13 changed files with 21 additions and 23 deletions
|
@ -393,7 +393,7 @@ pln_sel(struct nstr_item *ni, struct emp_qelem *list, struct sctstr *ap,
|
|||
if (plane.pln_mobil <= 0)
|
||||
continue;
|
||||
if (opt_MARKET) {
|
||||
if (ontradingblock(EF_PLANE, (int *)&plane)) {
|
||||
if (ontradingblock(EF_PLANE, &plane)) {
|
||||
pr("plane #%d inelligible - it's for sale.\n",
|
||||
plane.pln_uid);
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue