[c,printf] fix wlog format string to match arguments

This commit is contained in:
akallabeth
2026-01-16 11:42:41 +01:00
parent 6efef20dc4
commit 59e4e4b388

View File

@@ -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;