Alexandre Julliard : sane.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: 9008daed922dbf7f30b0da5dc4b96f2008c85238
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9008daed922dbf7f30b0da5dc4b96f2008c85238

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

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

---

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

diff --git a/dlls/sane.ds/ds_image.c b/dlls/sane.ds/ds_image.c
index 4777040..4945e55 100644
--- a/dlls/sane.ds/ds_image.c
+++ b/dlls/sane.ds/ds_image.c
@@ -563,7 +563,7 @@ TW_UINT16 SANE_ImageNativeXferGet (pTW_IDENTITY pOrigin,
 
         psane_cancel (activeDS.deviceHandle);
         activeDS.sane_started = FALSE;
-        *pHandle = (TW_UINT32)hDIB;
+        *pHandle = (UINT_PTR)hDIB;
         twRC = TWRC_XFERDONE;
         activeDS.twCC = TWCC_SUCCESS;
         activeDS.currentState = 7;




More information about the wine-cvs mailing list