1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix for os.execvp on macos (<<charptr())

This commit is contained in:
Delyan Angelov 2020-12-28 20:15:30 +02:00
parent 4c40891d5e
commit 8fe85bcc33
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -878,7 +878,7 @@ pub fn execvp(cmdpath string, args []string) ? {
mut cargs := []charptr{}
cargs << cmdpath.str
for i in 0 .. args.len {
cargs << byteptr(args[i].str)
cargs << charptr(args[i].str)
}
cargs << charptr(0)
res := C.execvp(charptr(cmdpath.str), cargs.data)