(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
|
@ -495,8 +495,7 @@ check_trade(void)
|
|||
}
|
||||
|
||||
int
|
||||
ontradingblock(int type, int *ptr)
|
||||
/* Generic pointer */
|
||||
ontradingblock(int type, void *ptr)
|
||||
{
|
||||
struct trdstr trade;
|
||||
union trdgenstr tg;
|
||||
|
@ -516,8 +515,7 @@ ontradingblock(int type, int *ptr)
|
|||
}
|
||||
|
||||
void
|
||||
trdswitchown(int type, int *ptr, int newown)
|
||||
/* Generic pointer */
|
||||
trdswitchown(int type, void *ptr, int newown)
|
||||
{
|
||||
struct trdstr trade;
|
||||
union trdgenstr tg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue