Alexandre Julliard : ole32/tests: Avoid using sizeof in a trace.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Sep 27 13:58:53 CDT 2006
Module: wine
Branch: master
Commit: 335144dc04984bdf8c256731f0bd52874156feac
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=335144dc04984bdf8c256731f0bd52874156feac
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Sep 27 20:54:05 2006 +0200
ole32/tests: Avoid using sizeof in a trace.
---
dlls/ole32/tests/hglobalstream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/hglobalstream.c b/dlls/ole32/tests/hglobalstream.c
index 82de590..482ef1b 100644
--- a/dlls/ole32/tests/hglobalstream.c
+++ b/dlls/ole32/tests/hglobalstream.c
@@ -54,7 +54,7 @@ static void test_streamonhglobal(IStream
/* 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;
More information about the wine-cvs
mailing list