Skip to content
Snippets Groups Projects
Commit 0cb3a893 authored by SamwiseFilmore's avatar SamwiseFilmore
Browse files

Fix compile on redox

parent 14c81251
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ pub fn fchdir(fd: c_int) -> c_int { ...@@ -64,7 +64,7 @@ pub fn fchdir(fd: c_int) -> c_int {
} }
pub fn fcntl(fd: c_int, cmd: c_int, args: c_int) -> c_int { pub fn fcntl(fd: c_int, cmd: c_int, args: c_int) -> c_int {
e(syscall::fcntl(fd, cmd, args)) as c_int e(syscall::fcntl(fd as usize, cmd as usize, args as usize)) as c_int
} }
pub fn fork() -> pid_t { pub fn fork() -> pid_t {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment