Alexandre Julliard : gphoto2.ds: Fix a pointer conversion warning on 64-bit .

Alexandre Julliard julliard at winehq.org
Thu May 28 09:39:45 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 28 15:24:54 2009 +0200

gphoto2.ds: Fix a pointer conversion warning on 64-bit.

---

 dlls/gphoto2.ds/ds_image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gphoto2.ds/ds_image.c b/dlls/gphoto2.ds/ds_image.c
index ae6e115..ec29eff 100644
--- a/dlls/gphoto2.ds/ds_image.c
+++ b/dlls/gphoto2.ds/ds_image.c
@@ -460,7 +460,7 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
     gp_file_unref (activeDS.file);
     activeDS.file = NULL;
     ReleaseDC (activeDS.hwndOwner, dc);
-    *pHandle = (TW_UINT32)hDIB;
+    *pHandle = (UINT_PTR)hDIB;
     activeDS.twCC = TWCC_SUCCESS;
     activeDS.currentState = 7;
     return TWRC_XFERDONE;




More information about the wine-cvs mailing list