Skip to content

Commit 0f89371

Browse files
bpangWRtmandry
authored andcommitted
update rtpSpawn's parameters type(It's prototype has been updated in libc)
1 parent 5752b63 commit 0f89371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ impl Command {
5555

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

0 commit comments

Comments
 (0)