Matteo Bruni : d3dx10: Make use of data_size when tracing data string.

Alexandre Julliard julliard at winehq.org
Wed Feb 8 15:52:12 CST 2017


Module: wine
Branch: master
Commit: 5bcdee38c0392c09140a05f3834399571d6b802e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5bcdee38c0392c09140a05f3834399571d6b802e

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Feb  7 22:08:43 2017 +0100

d3dx10: Make use of data_size when tracing data string.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx10_43/async.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx10_43/async.c b/dlls/d3dx10_43/async.c
index fb988a4..c638904 100644
--- a/dlls/d3dx10_43/async.c
+++ b/dlls/d3dx10_43/async.c
@@ -226,8 +226,9 @@ HRESULT WINAPI D3DX10CompileFromMemory(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 ID3DX10ThreadPump handling.\n");




More information about the wine-cvs mailing list