From 7d1f36aa1c6b2f3612a8fa848698bc57e75f9d9d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 29 Dec 2006 12:41:36 +0100 Subject: [PATCH] d3d9/tests: Avoid sizeof in traces. --- dlls/d3d9/tests/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index c82f65b88c2..d0347ca719d 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -469,7 +469,7 @@ static void test_refcount(void) hr = IDirect3DDevice9_GetStreamSource(pDevice, 0, &pVBuf, &offset, &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); ok(offset==0, "offset not 0 (got %u)!\n", offset); } /* Shaders */