Commit c5e23886 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

rpcrt4: Fix unexpected exception in ndr_marshal tests.

parent 98c0bdb9
......@@ -154,6 +154,7 @@ static void test_ndr_simple_type(void)
StubMsg.BufferLength = 16;
StubMsg.RpcMsg->Buffer = StubMsg.BufferStart = StubMsg.Buffer = HeapAlloc(GetProcessHeap(), 0, StubMsg.BufferLength);
StubMsg.BufferEnd = StubMsg.Buffer + StubMsg.BufferLength;
l = 0xcafebabe;
NdrSimpleTypeMarshall(&StubMsg, (unsigned char*)&l, FC_LONG);
ok(StubMsg.Buffer == StubMsg.BufferStart + 4, "%p %p\n", StubMsg.Buffer, StubMsg.BufferStart);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment