mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: fix msvc warning "incompatible types - from 'STARTUPINFO *' to 'LPSTARTUPINFOW'"
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user