From 70103aadc8f41fd8485929253a31b222d6c209a5 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 1 Sep 2010 13:01:42 +0200 Subject: [PATCH] oleaut32/tests: Fix a pointer cast warning. --- dlls/oleaut32/tests/olepicture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/tests/olepicture.c b/dlls/oleaut32/tests/olepicture.c index 03d47db5d1..c817b5fda9 100644 --- a/dlls/oleaut32/tests/olepicture.c +++ b/dlls/oleaut32/tests/olepicture.c @@ -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"); }