ole32/tests: Avoid using sizeof in a trace.
This commit is contained in:
parent
dba338f2e6
commit
335144dc04
|
@ -54,7 +54,7 @@ static void test_streamonhglobal(IStream *pStream)
|
||||||
/* should return S_OK, not S_FALSE */
|
/* should return S_OK, not S_FALSE */
|
||||||
hr = IStream_Read(pStream, buffer, sizeof(buffer), &read);
|
hr = IStream_Read(pStream, buffer, sizeof(buffer), &read);
|
||||||
ok_ole_success(hr, "IStream_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 */
|
/* ignores HighPart */
|
||||||
ull.HighPart = -1;
|
ull.HighPart = -1;
|
||||||
|
|
Loading…
Reference in New Issue