Commit 70103aad authored by Alexandre Julliard's avatar Alexandre Julliard

oleaut32/tests: Fix a pointer cast warning.

parent 95ea3527
......@@ -219,7 +219,7 @@ test_pic_with_stream(LPSTREAM stream, unsigned int imgsize)
if (handle)
{
BITMAP bmp;
GetObject((HGDIOBJ)handle, sizeof(BITMAP), &bmp);
GetObject(UlongToHandle(handle), sizeof(BITMAP), &bmp);
todo_wine ok(bmp.bmBits != 0, "not a dib\n");
}
......
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