oleaut32/tests: Fix handle sign extension on 64-bit.

This commit is contained in:
Alexandre Julliard 2012-05-25 10:29:28 +02:00
parent 8761bb29ea
commit 4b9a558523
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ static void test_load_save_bmp(void)
hr = IPicture_get_Handle(pic, &handle);
ok(hr == S_OK,"get_Handle error %#8x\n", hr);
ok(UIntToPtr(handle) == desc.u.bmp.hbitmap, "get_Handle returned wrong handle %#x\n", handle);
ok(IntToPtr(handle) == desc.u.bmp.hbitmap, "get_Handle returned wrong handle %#x\n", handle);
hmem = GlobalAlloc(GMEM_ZEROINIT, 4096);
hr = CreateStreamOnHGlobal(hmem, FALSE, &dst_stream);