We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c02e798 + c81d359 commit 51f7b2bCopy full SHA for 51f7b2b
src/libstd/sys/vxworks/process/process_vxworks.rs
@@ -54,8 +54,8 @@ impl Command {
54
55
let ret = libc::rtpSpawn(
56
self.get_argv()[0], // executing program
57
- self.get_argv().as_ptr() as *const _, // argv
58
- *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,
59
100 as c_int, // initial priority
60
thread::min_stack(), // initial stack size.
61
0, // options
0 commit comments