Module: wine Branch: master Commit: 70103aadc8f41fd8485929253a31b222d6c209a5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=70103aadc8f41fd8485929253a...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 1 13:01:42 2010 +0200
oleaut32/tests: Fix a pointer cast warning.
---
dlls/oleaut32/tests/olepicture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tests/olepicture.c b/dlls/oleaut32/tests/olepicture.c index 03d47db..c817b5f 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"); }