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) { |
479 |
|
if (buf == NULL) |
480 |
|
buf = (char *)malloc(bufsiz=msg.nbytes); |
481 |
|
else |
482 |
< |
buf = (char *)realloc(buf, bufsiz=msg.nbytes); |
482 |
> |
buf = (char *)realloc((void *)buf, |
483 |
> |
bufsiz=msg.nbytes); |
484 |
|
if (buf == NULL) |
485 |
|
error(SYSTEM, "out of memory in serv_result"); |
486 |
|
} |