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