Commit c82ffcec authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: Initialise the array to be marshalled in test_conformant_array.

parent 535e6189
......@@ -1315,6 +1315,7 @@ static void test_conformant_array(void)
void *ptr;
unsigned char *mem, *mem_orig;
unsigned char memsrc[20];
unsigned int i;
static const unsigned char fmtstr_conf_array[] =
{
......@@ -1328,6 +1329,9 @@ static void test_conformant_array(void)
0x5b /* FC_END */
};
for (i = 0; i < sizeof(memsrc); i++)
memsrc[i] = i * i;
StubDesc = Object_StubDesc;
StubDesc.pFormatTypes = fmtstr_conf_array;
......
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