mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr] add WINPR_C_ARRAY_INIT
since C23 allows c++ style initializing replace direct use with this macro
This commit is contained in:
@@ -719,7 +719,7 @@ error_handle:
|
||||
static DWORD WINAPI serial_thread_func(LPVOID arg)
|
||||
{
|
||||
IRP* irp = NULL;
|
||||
wMessage message = { 0 };
|
||||
wMessage message = WINPR_C_ARRAY_INIT;
|
||||
SERIAL_DEVICE* serial = (SERIAL_DEVICE*)arg;
|
||||
UINT error = CHANNEL_RC_OK;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user