[c,format] fix format string and review warnings

This commit is contained in:
akallabeth
2026-01-16 13:36:14 +01:00
parent 832da09b3e
commit fb8efd45f2
11 changed files with 16 additions and 23 deletions

View File

@@ -304,7 +304,7 @@ void xf_draw_screen_(xfContext* xfc, int x, int y, int w, int h, const char* fkt
{
if (!xfc)
{
WLog_DBG(TAG, "called from [%s] xfc=%p", fkt, WINPR_CXX_COMPAT_CAST(const void*, xfc));
WLog_DBG(TAG, "called from [%s] xfc=NULL", fkt);
return;
}
@@ -316,7 +316,7 @@ void xf_draw_screen_(xfContext* xfc, int x, int y, int w, int h, const char* fkt
if (!xfc->window)
{
WLog_WARN(TAG, "invalid xfc->window=%p", WINPR_CXX_COMPAT_CAST(const void*, xfc->window));
WLog_WARN(TAG, "invalid xfc->window=NULL");
return;
}