gphoto.ds: Remove superfluous pointer casts.
This commit is contained in:
parent
5435320059
commit
2c5da7de49
|
@ -397,7 +397,7 @@ TW_UINT16 GPHOTO2_ImageNativeXferGet (pTW_IDENTITY pOrigin,
|
||||||
* will likely crash after calling.
|
* will likely crash after calling.
|
||||||
*
|
*
|
||||||
* Reason is that there is a lot of example code that does:
|
* 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
|
* Our current HBITMAP handles do not support getting GlobalLocked -> App Crash
|
||||||
*
|
*
|
||||||
|
|
|
@ -133,7 +133,7 @@ static void PopulateImageList(HIMAGELIST *iList, HWND list)
|
||||||
#else
|
#else
|
||||||
bitmap = 0;
|
bitmap = 0;
|
||||||
#endif
|
#endif
|
||||||
GetObjectA(bitmap,sizeof(BITMAP),(LPVOID)&bmpInfo);
|
GetObjectA(bitmap,sizeof(BITMAP),&bmpInfo);
|
||||||
|
|
||||||
if (*iList == 0)
|
if (*iList == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue