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

This commit is contained in:
Alexandre Julliard 2009-05-28 15:24:54 +02:00
parent 83cb24f9b4
commit 49159aebf1
1 changed files with 1 additions and 1 deletions

View File

@ -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;