user32/tests: Allocate big enough buffer for UnpackDDElParam test.

oldstable
Dan Kegel 2009-12-02 11:02:09 -08:00 committed by Alexandre Julliard
parent 1860d2a8d3
commit 3e28e4ab0f
1 changed files with 1 additions and 1 deletions

View File

@ -2013,7 +2013,7 @@ static void test_UnpackDDElParam(void)
broken(hi == 0xbeef), /* win2k */
"Expected 0, got %08lx\n", hi);
hglobal = GlobalAlloc(GMEM_DDESHARE, 2);
hglobal = GlobalAlloc(GMEM_DDESHARE, 2 * sizeof(*ptr));
ptr = GlobalLock(hglobal);
ptr[0] = 0xcafebabe;
ptr[1] = 0xdeadbeef;