gphoto2.ds: Fix a pointer conversion warning on 64-bit.
This commit is contained in:
parent
83cb24f9b4
commit
49159aebf1
|
@ -460,7 +460,7 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
|
||||||
gp_file_unref (activeDS.file);
|
gp_file_unref (activeDS.file);
|
||||||
activeDS.file = NULL;
|
activeDS.file = NULL;
|
||||||
ReleaseDC (activeDS.hwndOwner, dc);
|
ReleaseDC (activeDS.hwndOwner, dc);
|
||||||
*pHandle = (TW_UINT32)hDIB;
|
*pHandle = (UINT_PTR)hDIB;
|
||||||
activeDS.twCC = TWCC_SUCCESS;
|
activeDS.twCC = TWCC_SUCCESS;
|
||||||
activeDS.currentState = 7;
|
activeDS.currentState = 7;
|
||||||
return TWRC_XFERDONE;
|
return TWRC_XFERDONE;
|
||||||
|
|
Loading…
Reference in New Issue