We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75ecbe2 commit dd38a0fCopy full SHA for dd38a0f
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