rpcrt4: Clear a hole in the ps1 structure in test_simple_struct.

This commit is contained in:
Rob Shearman 2008-06-12 22:57:55 +01:00 committed by Alexandre Julliard
parent c82ffcec60
commit 9196337e09
1 changed files with 3 additions and 0 deletions

View File

@ -896,6 +896,9 @@ static void test_simple_struct(void)
test_pointer_marshal(fmtstr_simple_struct, &s1, 24, wiredata, 28, NULL, 0, "struct"); test_pointer_marshal(fmtstr_simple_struct, &s1, 24, wiredata, 28, NULL, 0, "struct");
} }
/* zero the entire structure, including the hole */
memset(&ps1, 0, sizeof(&ps1));
/* FC_PSTRUCT */ /* FC_PSTRUCT */
ps1.l1 = 0xdeadbeef; ps1.l1 = 0xdeadbeef;
l = 0xcafebabe; l = 0xcafebabe;