mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
SCP: Compiler suggested type cast
This commit is contained in:
parent
dc2bbe5a40
commit
f03df970ea
2
scp.c
2
scp.c
@ -9049,7 +9049,7 @@ if ((sim_brk_ins == sim_brk_ent) ||
|
||||
sim_brk_tab[i] = sim_brk_tab[i - 1];
|
||||
sim_brk_tab[sim_brk_ins] = NULL;
|
||||
}
|
||||
bp = calloc (1, sizeof (*bp));
|
||||
bp = (BRKTAB *)calloc (1, sizeof (*bp));
|
||||
bp->next = sim_brk_tab[sim_brk_ins];
|
||||
sim_brk_tab[sim_brk_ins] = bp;
|
||||
if (bp->next == NULL)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user