From 59e4e4b38892ebbbb299c9169647c5fb6c899477 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 16 Jan 2026 11:42:41 +0100 Subject: [PATCH] [c,printf] fix wlog format string to match arguments --- server/shadow/shadow_server.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/shadow/shadow_server.c b/server/shadow/shadow_server.c index 6a9e4816f..a8fa73cf4 100644 --- a/server/shadow/shadow_server.c +++ b/server/shadow/shadow_server.c @@ -591,9 +591,10 @@ int shadow_server_parse_command_line(rdpShadowServer* server, int argc, char** a const MONITOR_DEF* monitor = &monitors[index]; const INT64 width = monitor->right - monitor->left + 1; const INT64 height = monitor->bottom - monitor->top + 1; - WLog_INFO(TAG, " %s [%d] %" PRId64 "x%" PRId64 "\t+%" PRId32 "+%" PRId32 "", - (monitor->flags == 1) ? "*" : " ", index, width, height, monitor->left, - monitor->top); + WLog_INFO( + TAG, " %s [%" PRIu32 "] %" PRId64 "x%" PRId64 "\t+%" PRId32 "+%" PRId32 "", + (monitor->flags == 1) ? "*" : " ", index, width, height, monitor->left, + monitor->top); } status = COMMAND_LINE_STATUS_PRINT;