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:
@@ -484,7 +484,7 @@ static int rdtk_font_parse_descriptor_buffer(rdtkFont* font, char* buffer,
|
||||
|
||||
p += sizeof("offset=\"") - 1;
|
||||
|
||||
char* tok[4] = { 0 };
|
||||
char* tok[4] = WINPR_C_ARRAY_INIT;
|
||||
{
|
||||
char* q = strchr(p, '"');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user