[PATCH 6/6] d3dx11: Make use of data_size when tracing data string.

Matteo Bruni mbruni at codeweavers.com
Tue Feb 7 15:08:44 CST 2017


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 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 ea7072a..ece13e9 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");
-- 
2.10.2




More information about the wine-patches mailing list