Commit 2c5da7de authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gphoto.ds: Remove superfluous pointer casts.

parent 54353200
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment