oleaut32/tests: Fix a pointer cast warning.

oldstable
Alexandre Julliard 2010-09-01 13:01:42 +02:00
parent 95ea352738
commit 70103aadc8
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}