gphoto.ds: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-27 11:36:42 +01:00 committed by Alexandre Julliard
parent 5435320059
commit 2c5da7de49
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
* will likely crash after calling.
*
* Reason is that there is a lot of example code that does:
* bmpinfo = (LPBITMAPINFOHEADER)GlobalLock(hBITMAP); ... pointer access to bmpinfo
* bmpinfo = GlobalLock(hBITMAP); ... pointer access to bmpinfo
*
* Our current HBITMAP handles do not support getting GlobalLocked -> App Crash
*

View File

@ -133,7 +133,7 @@ static void PopulateImageList(HIMAGELIST *iList, HWND list)
#else
bitmap = 0;
#endif
GetObjectA(bitmap,sizeof(BITMAP),(LPVOID)&bmpInfo);
GetObjectA(bitmap,sizeof(BITMAP),&bmpInfo);
if (*iList == 0)
{