Module: wine Branch: master Commit: 335144dc04984bdf8c256731f0bd52874156feac URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=335144dc04984bdf8c256731...
Author: Alexandre Julliard julliard@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;