46 |
|
if (newav == NULL) |
47 |
|
return(-1); |
48 |
|
/* copy preceeding arguments */ |
49 |
< |
bcopy((char *)*avp, (char *)newav, n*sizeof(char *)); |
49 |
> |
bcopy((void *)*avp, (void *)newav, n*sizeof(char *)); |
50 |
|
/* copy expanded argument */ |
51 |
< |
bcopy((char *)ave, (char *)(newav+n), ace*sizeof(char *)); |
51 |
> |
bcopy((void *)ave, (void *)(newav+n), ace*sizeof(char *)); |
52 |
|
/* copy trailing arguments + NULL */ |
53 |
< |
bcopy((char *)(*avp+n+1), (char *)(newav+n+ace), (*acp-n)*sizeof(char *)); |
53 |
> |
bcopy((void *)(*avp+n+1), (void *)(newav+n+ace), (*acp-n)*sizeof(char *)); |
54 |
|
/* free old list */ |
55 |
|
bfree((char *)*avp, (*acp+1)*sizeof(char *)); |
56 |
|
/* assign new list */ |