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

This commit is contained in:
akallabeth
2026-01-16 11:42:15 +01:00
parent a2af4ff0f5
commit c23f83b970

View File

@@ -488,8 +488,10 @@ BOOL gdi_bitmap_update(rdpContext* context, const BITMAP_UPDATE* bitmapUpdate)
WLog_ERR(TAG,
"Invalid arguments: context=%p, bitmapUpdate=%p, context->gdi=%p, "
"context->codecs=%p",
context, bitmapUpdate, context ? context->gdi : NULL,
context ? context->codecs : NULL);
WINPR_CXX_COMPAT_CAST(const void*, context),
WINPR_CXX_COMPAT_CAST(const void*, bitmapUpdate),
WINPR_CXX_COMPAT_CAST(const void*, context ? context->gdi : NULL),
WINPR_CXX_COMPAT_CAST(const void*, context ? context->codecs : NULL));
return FALSE;
}