Global (Windows): fixes building on i686

This commit is contained in:
Carter Li
2026-04-05 14:40:38 +08:00
parent 7887067301
commit 7045dea284
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ bool ffPathExpandEnv(const char* in, FFstrbuf* out) {
}
len /= sizeof(wchar_t); // convert from bytes to characters
size_t outLen; // in characters, including null terminator
SIZE_T outLen; // in characters, including null terminator
if (!NT_SUCCESS(RtlExpandEnvironmentStrings(NULL, pathInW, len, pathOutW, ARRAY_SIZE(pathOutW), &outLen))) {
return false;
}