mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user