From: Marcus Meissner <marcus(a)jet.franken.de> Signed-off-by: Marcus Meissner <marcus(a)jet.franken.de> --- dlls/winex11.drv/xdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index 174b764aa63..1391c6f0bd5 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -76,7 +76,7 @@ static const char *debugstr_format( int format ) if (CF_PRIVATEFIRST <= format && format <= CF_PRIVATELAST) return "some private object"; if (CF_GDIOBJFIRST <= format && format <= CF_GDIOBJLAST) return "some GDI object"; - GetClipboardFormatNameW( format, buffer, sizeof(buffer) ); + GetClipboardFormatNameW( format, buffer, ARRAY_SIZE(buffer) ); return debugstr_w( buffer ); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6697