Skip to content

Commit dd38a0f

Browse files
committed
update rtpSpawn's parameters type(It's prototype has been updated in libc)
1 parent 75ecbe2 commit dd38a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 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)