CI: Fix building for GCC in Windows

This commit is contained in:
李通洲
2024-01-21 17:39:31 +08:00
parent 0f69dc5980
commit 5b2db02bc1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
# 2.6.2
Bugfixes:
* Fix building for GCC in Windows (Windows)
# 2.6.1
Features:
@@ -86,7 +86,7 @@ bool fftsGetShellVersion(FFstrbuf* exe, const char* exeName, FFstrbuf* version);
static uint32_t getShellInfo(FFShellResult* result, uint32_t pid)
{
uint32_t ppid;
uint32_t ppid = 0;
while (pid != 0 && getProcessInfo(pid, &ppid, &result->processName, &result->exe, &result->exeName, &result->exePath, NULL))
{