diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-28 05:37:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-28 05:37:51 +0200 |
| commit | 2d4c101af51395c9453ca3c5b5f9d79dc290cc3c (patch) | |
| tree | bd18adef525404352a2b55ff0d20c7b5dd6966cc /src/libstd/sys | |
| parent | e2823c91d0c60153e81740947bd977b14a32e50c (diff) | |
| parent | c81d3590209c7cac4e033528e0ad3ec99e9b1b87 (diff) | |
| download | rust-2d4c101af51395c9453ca3c5b5f9d79dc290cc3c.tar.gz rust-2d4c101af51395c9453ca3c5b5f9d79dc290cc3c.zip | |
Rollup merge of #64818 - Wind-River:master, r=alexcrichton
update rtpSpawn's parameters type(It's prototype has been updated in libc) r? @alexcrichton
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/vxworks/process/process_vxworks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/vxworks/process/process_vxworks.rs b/src/libstd/sys/vxworks/process/process_vxworks.rs index beb20aa4816..7446471ae31 100644 --- a/src/libstd/sys/vxworks/process/process_vxworks.rs +++ b/src/libstd/sys/vxworks/process/process_vxworks.rs @@ -54,8 +54,8 @@ impl Command { let ret = libc::rtpSpawn( self.get_argv()[0], // executing program - self.get_argv().as_ptr() as *const _, // argv - *sys::os::environ() as *const *const c_char, + self.get_argv().as_ptr() as *mut *const c_char, // argv + *sys::os::environ() as *mut *const c_char, 100 as c_int, // initial priority thread::min_stack(), // initial stack size. 0, // options |
