From 6e64b758bf9c82ca3f2b7bd5ed3f503eeb5c7753 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 13 Feb 2026 23:37:40 +0800 Subject: [PATCH] Chore: silences a compiler warning --- src/common/impl/FFPlatform_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/impl/FFPlatform_unix.c b/src/common/impl/FFPlatform_unix.c index 6431dc86c..985494bf9 100644 --- a/src/common/impl/FFPlatform_unix.c +++ b/src/common/impl/FFPlatform_unix.c @@ -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