From 335144dc04984bdf8c256731f0bd52874156feac Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 27 Sep 2006 20:54:05 +0200 Subject: [PATCH] ole32/tests: Avoid using sizeof in a trace. --- dlls/ole32/tests/hglobalstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/tests/hglobalstream.c b/dlls/ole32/tests/hglobalstream.c index 82de590df2c..482ef1b8757 100644 --- a/dlls/ole32/tests/hglobalstream.c +++ b/dlls/ole32/tests/hglobalstream.c @@ -54,7 +54,7 @@ static void test_streamonhglobal(IStream *pStream) /* should return S_OK, not S_FALSE */ hr = IStream_Read(pStream, buffer, sizeof(buffer), &read); ok_ole_success(hr, "IStream_Read"); - ok(read == sizeof(data), "IStream_Read returned read %ld instead of %d\n", read, sizeof(data)); + ok(read == sizeof(data), "IStream_Read returned read %ld\n", read); /* ignores HighPart */ ull.HighPart = -1; -- 2.11.4.GIT