Skip to content

Commit

Permalink
Merge pull request rust-lang#30 from Wind-River/update
Browse files Browse the repository at this point in the history
update rtpSpawn's parameters type(It's prototype has been updated in …
  • Loading branch information
n-salim authored Sep 26, 2019
2 parents 75ecbe2 + dd38a0f commit c81d359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/sys/vxworks/process/process_vxworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c81d359

Please sign in to comment.