From 45aef81cbe5aecc75a36fdf821c66355adff52de Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 7 Feb 2017 22:08:44 +0100 Subject: [PATCH] d3dx11: Make use of data_size when tracing data string. Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3dx11_43/async.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx11_43/async.c b/dlls/d3dx11_43/async.c index ea7072ae6d4..ece13e99c2d 100644 --- a/dlls/d3dx11_43/async.c +++ b/dlls/d3dx11_43/async.c @@ -224,8 +224,9 @@ HRESULT WINAPI D3DX11CompileFromMemory(const char *data, SIZE_T data_size, const { TRACE("data %s, data_size %lu, filename %s, defines %p, include %p, entry_point %s, target %s, " "sflags %#x, eflags %#x, pump %p, shader %p, error_messages %p, hresult %p.\n", - debugstr_a(data), data_size, debugstr_a(filename), defines, include, debugstr_a(entry_point), - debugstr_a(target), sflags, eflags, pump, shader, error_messages, hresult); + debugstr_an(data, data_size), data_size, debugstr_a(filename), defines, include, + debugstr_a(entry_point), debugstr_a(target), sflags, eflags, pump, shader, + error_messages, hresult); if (pump) FIXME("Unimplemented ID3DX11ThreadPump handling.\n");