oleaut32/tests: Fix a pointer cast warning.
This commit is contained in:
parent
95ea352738
commit
70103aadc8
|
@ -219,7 +219,7 @@ test_pic_with_stream(LPSTREAM stream, unsigned int imgsize)
|
||||||
if (handle)
|
if (handle)
|
||||||
{
|
{
|
||||||
BITMAP bmp;
|
BITMAP bmp;
|
||||||
GetObject((HGDIOBJ)handle, sizeof(BITMAP), &bmp);
|
GetObject(UlongToHandle(handle), sizeof(BITMAP), &bmp);
|
||||||
todo_wine ok(bmp.bmBits != 0, "not a dib\n");
|
todo_wine ok(bmp.bmBits != 0, "not a dib\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue