From 9008daed922dbf7f30b0da5dc4b96f2008c85238 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 28 May 2009 15:24:58 +0200 Subject: [PATCH] sane.ds: Fix a pointer conversion warning on 64-bit. --- dlls/sane.ds/ds_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/sane.ds/ds_image.c b/dlls/sane.ds/ds_image.c index 47770402512..4945e55bcbd 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;