From acebb5b0cfa7905e477307172a0cd0d2e77aba8c Mon Sep 17 00:00:00 2001 From: lewa_j Date: Sat, 11 Oct 2025 19:27:36 +0300 Subject: [PATCH] engine: client: fix msvc warning "incompatible types - from 'STARTUPINFO *' to 'LPSTARTUPINFOW'" --- engine/client/identification.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/identification.c b/engine/client/identification.c index 2b1a8127..b6745bd4 100644 --- a/engine/client/identification.c +++ b/engine/client/identification.c @@ -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,