Alexandre Julliard : d3d8/tests: Avoid sizeof in traces.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 29 06:47:28 CST 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Dec 29 12:41:32 2006 +0100

d3d8/tests: Avoid sizeof in traces.

---

 dlls/d3d8/tests/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index b3c4c64..96f3a39 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -420,7 +420,7 @@ static void test_refcount(void)
         hr = IDirect3DDevice8_GetStreamSource(pDevice, 0, &pVBuf, &stride);
         ok(SUCCEEDED(hr), "GetStreamSource did not succeed with NULL stream!\n");
         ok(pVBuf==NULL, "pVBuf not NULL (%p)!\n", pVBuf);
-        ok(stride==3*sizeof(float), "stride not %u (got %u)!\n", 3*sizeof(float), stride);
+        ok(stride==3*sizeof(float), "stride not 3 floats (got %u)!\n", stride);
     }
 
     /* Shaders */




More information about the wine-cvs mailing list