Skip to content

Commit c81d359

Browse files
authored
Merge pull request #30 from Wind-River/update
update rtpSpawn's parameters type(It's prototype has been updated in …
2 parents 75ecbe2 + dd38a0f commit c81d359

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)