Skip to content

Commit

Permalink
Rollup merge of rust-lang#64818 - Wind-River:master, r=alexcrichton
Browse files Browse the repository at this point in the history
update rtpSpawn's parameters type(It's prototype has been updated in libc)

r? @alexcrichton
  • Loading branch information
Centril committed Sep 28, 2019
2 parents f08f3f3 + c81d359 commit 5280e79
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 5280e79

Please sign in to comment.