ole32: Fix two comments in ok strings in the WdtpInterfacePointer tests.
Alexandre Julliard
julliard at winehq.org
Wed Nov 28 05:41:09 CST 2007
Robert Shearman <rob at codeweavers.com> writes:
> diff --git a/dlls/ole32/tests/usrmarshal.c b/dlls/ole32/tests/usrmarshal.c
> index 9959f74..5819ec1 100644
> --- a/dlls/ole32/tests/usrmarshal.c
> +++ b/dlls/ole32/tests/usrmarshal.c
> @@ -801,9 +801,9 @@ static void test_marshal_WdtpInterfacePointer(void)
> wireip = buffer;
> if (size >= 28)
> {
> - ok(*(DWORD *)wireip == 0x44, "wireip + 0x0 should be 0x4c instead of 0x%08x\n", *(DWORD *)wireip);
> + ok(*(DWORD *)wireip == 0x44, "wireip + 0x0 should be 0x44 instead of 0x%08x\n", *(DWORD *)wireip);
> wireip += sizeof(DWORD);
> - ok(*(DWORD *)wireip == 0x44, "wireip + 0x8 should be 0x4c instead of 0x%08x\n", *(DWORD *)wireip);
> + ok(*(DWORD *)wireip == 0x44, "wireip + 0x8 should be 0x44 instead of 0x%08x\n", *(DWORD *)wireip);
While we are on the subject, why does it say wireip + 0x8 when the
pointer is incremented by 4? The rest of the offsets are wrong too,
especially the iid comparison.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list