forked from OSchip/llvm-project
Try to unbreak internal_sysctl() for MacOSX
Cast the 5th argument to (void *), removing cast. llvm-svn: 341192
This commit is contained in:
parent
95f4120f09
commit
43b15cddac
|
@ -215,7 +215,8 @@ int internal_fork() {
|
|||
|
||||
int internal_sysctl(const int *name, unsigned int namelen, void *oldp,
|
||||
uptr *oldlenp, const void *newp, uptr newlen) {
|
||||
return sysctl((int *)name, namelen, oldp, (size_t *)oldlenp, newp, (size_t)newlen);
|
||||
return sysctl((int *)name, namelen, oldp, (size_t *)oldlenp, (void *)newp,
|
||||
(size_t)newlen);
|
||||
}
|
||||
|
||||
int internal_forkpty(int *amaster) {
|
||||
|
|
Loading…
Reference in New Issue