Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -71,7 +71,7 @@ lwpInitContext(struct lwpProc *newp, void *sp)
|
|||
int endpoint;
|
||||
|
||||
if (initcontext == NULL) {
|
||||
initcontext = (struct lwpProc *)malloc(sizeof(struct lwpProc));
|
||||
initcontext = malloc(sizeof(struct lwpProc));
|
||||
tempcontext = &holder;
|
||||
if (!setjmp(tempcontext->context))
|
||||
startcontext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue