(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:
Markus Armbruster 2006-03-25 15:11:17 +00:00
parent 05f64e8c3f
commit 79714720cc
13 changed files with 21 additions and 23 deletions

View file

@ -75,7 +75,7 @@ arm(void)
return RET_FAIL;
}
if (opt_MARKET) {
if (ontradingblock(EF_PLANE, (int *)&pl)) {
if (ontradingblock(EF_PLANE, &pl)) {
pr("You cannot arm/disarm an item on the trading block!\n");
return RET_FAIL;
}