216 |
|
hdlist[hd] = (HOLO *)malloc(sizeof(HOLO)); |
217 |
|
if (hdlist[hd] == NULL) |
218 |
|
error(SYSTEM, "out of memory in add_holo"); |
219 |
< |
bcopy((char *)hdg, (char *)hdlist[hd], sizeof(HDGRID)); |
219 |
> |
bcopy((void *)hdg, (void *)hdlist[hd], sizeof(HDGRID)); |
220 |
|
hdcompgrid(hdlist[hd]); |
221 |
|
hdgfn[hd] = savestr(gfn); |
222 |
|
hdpfn[hd] = pfn && *pfn ? savestr(pfn) : (char *)NULL; |
275 |
|
static unsigned nhist; |
276 |
|
VIEW *dv; |
277 |
|
int i, res[2]; |
278 |
< |
int2 *slist; |
278 |
> |
int16 *slist; |
279 |
|
char *err; |
280 |
|
/* restore previous view? */ |
281 |
|
if (v == NULL) { |