Skip to content

Commit 6e64b75

Browse files
committed
Chore: silences a compiler warning
1 parent 49ef7fc commit 6e64b75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/impl/FFPlatform_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void getExePath(FFPlatform* platform)
3434
if(sysctl(
3535
(int[]){CTL_KERN,
3636
#ifdef __FreeBSD__
37-
KERN_PROC, KERN_PROC_PATHNAME, platform->pid
37+
KERN_PROC, KERN_PROC_PATHNAME, (pid_t) platform->pid
3838
#else
3939
KERN_PROC_ARGS, platform->pid, KERN_PROC_PATHNAME
4040
#endif

0 commit comments

Comments
 (0)