oleaut32/tests: Fix handle sign extension on 64-bit.
This commit is contained in:
parent
8761bb29ea
commit
4b9a558523
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue