[warnings] Fix format string errors

* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
This commit is contained in:
akallabeth
2025-08-13 09:00:25 +02:00
parent c3e507a82e
commit 65f18983ed
51 changed files with 439 additions and 385 deletions

View File

@@ -1468,9 +1468,9 @@ void freerdp_assistance_print_file(rdpAssistanceFile* file, wLog* log, DWORD lev
if (x < ArrayList_Count(file->MachineUris))
uri = ArrayList_GetItem(file->MachineUris, x);
WLog_Print(log, level, "MachineAddress [%" PRIdz ": %s", x, addr);
WLog_Print(log, level, "MachinePort [%" PRIdz ": %" PRIu32, x, port);
WLog_Print(log, level, "MachineURI [%" PRIdz ": %s", x, uri);
WLog_Print(log, level, "MachineAddress [%" PRIuz ": %s", x, addr);
WLog_Print(log, level, "MachinePort [%" PRIuz ": %" PRIu32, x, port);
WLog_Print(log, level, "MachineURI [%" PRIuz ": %s", x, uri);
}
}