Chore: silences a compiler warning
This commit is contained in:
1 parent
49ef7fc51f
commit
6e64b758bf
1 file changed
+1
-1
@@ -34,7 +34,7 @@ static void getExePath(FFPlatform* platform)
|
||||
if(sysctl(
|
||||
(int[]){CTL_KERN,
|
||||
#ifdef __FreeBSD__
|
||||
KERN_PROC, KERN_PROC_PATHNAME, platform->pid
|
||||
KERN_PROC, KERN_PROC_PATHNAME, (pid_t) platform->pid
|
||||
#else
|
||||
KERN_PROC_ARGS, platform->pid, KERN_PROC_PATHNAME
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user