mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 23:36:29 +00:00
Do an explicit cast that doesn't make sense
I don't know why this is what the compiler wants, given that the docs say it shouldn't need a cast, but this is for some reason what the compiler wants.
This commit is contained in:
parent
bb1693556b
commit
e6fd0c62fd
4 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ pub unsafe extern "C" fn roc_shm_open(
|
|||
oflag: libc::c_int,
|
||||
mode: libc::mode_t,
|
||||
) -> libc::c_int {
|
||||
libc::shm_open(name, oflag, mode as _)
|
||||
libc::shm_open(name, oflag, mode as libc::c_uint)
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue