rpcrt4: Fix unexpected exception in ndr_marshal tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52909 Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
98c0bdb9a8
commit
c5e23886b2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue