Alexandre Julliard : oleaut32/tests: Fix a pointer cast warning.

Alexandre Julliard julliard at winehq.org
Wed Sep 1 11:08:56 CDT 2010


Module: wine
Branch: master
Commit: 70103aadc8f41fd8485929253a31b222d6c209a5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=70103aadc8f41fd8485929253a31b222d6c209a5

Author: Alexandre Julliard <julliard at 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");
         }
 




More information about the wine-cvs mailing list