Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 51f7b2b

Browse files
authoredSep 27, 2019
Rollup merge of #64818 - Wind-River:master, r=alexcrichton
update rtpSpawn's parameters type(It's prototype has been updated in libc) r? @alexcrichton
2 parents c02e798 + c81d359 commit 51f7b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/libstd/sys/vxworks/process/process_vxworks.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ impl Command {
5454

5555
let ret = libc::rtpSpawn(
5656
self.get_argv()[0], // executing program
57-
self.get_argv().as_ptr() as *const _, // argv
58-
*sys::os::environ() as *const *const c_char,
57+
self.get_argv().as_ptr() as *mut *const c_char, // argv
58+
*sys::os::environ() as *mut *const c_char,
5959
100 as c_int, // initial priority
6060
thread::min_stack(), // initial stack size.
6161
0, // options

0 commit comments

Comments
 (0)
Please sign in to comment.