We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ef7fc commit 6e64b75Copy full SHA for 6e64b75
1 file changed
src/common/impl/FFPlatform_unix.c
@@ -34,7 +34,7 @@ static void getExePath(FFPlatform* platform)
34
if(sysctl(
35
(int[]){CTL_KERN,
36
#ifdef __FreeBSD__
37
- KERN_PROC, KERN_PROC_PATHNAME, platform->pid
+ KERN_PROC, KERN_PROC_PATHNAME, (pid_t) platform->pid
38
#else
39
KERN_PROC_ARGS, platform->pid, KERN_PROC_PATHNAME
40
#endif
0 commit comments