engine: client: fix msvc warning "incompatible types - from 'STARTUPINFO *' to 'LPSTARTUPINFOW'"

This commit is contained in:
lewa_j
2025-10-11 19:27:36 +03:00
parent 5f707e37b1
commit acebb5b0cf

View File

@@ -421,9 +421,9 @@ static int ID_RunWMIC( char *buffer, const wchar_t *cmdline )
CreatePipe( &g_OUT_Rd, &g_OUT_Wr, &saAttr, 0 );
SetHandleInformation( g_IN_Wr, HANDLE_FLAG_INHERIT, 0 );
STARTUPINFO si =
STARTUPINFOW si =
{
.cb = sizeof( STARTUPINFO ),
.cb = sizeof( STARTUPINFOW ),
.dwFlags = STARTF_USESTDHANDLES,
.hStdInput = g_IN_Rd,
.hStdOutput = g_OUT_Wr,