1
0
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:
Mark Pizzolato 2016-08-31 10:23:54 -07:00
parent dc2bbe5a40
commit f03df970ea

2
scp.c
View File

@ -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)