int cast on macos

This commit is contained in:
Folkert 2022-10-16 18:32:55 +02:00
parent 92afe5a46e
commit f562d61505
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 5 additions and 5 deletions

View file

@ -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)
libc::shm_open(name, oflag, mode as _)
}
#[cfg(unix)]