From 2c5da7de49664621d0efeb1f696b5ebc9b9e6166 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 27 Jan 2009 11:36:42 +0100 Subject: [PATCH] gphoto.ds: Remove superfluous pointer casts. --- dlls/gphoto2.ds/ds_image.c | 2 +- dlls/gphoto2.ds/ui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gphoto2.ds/ds_image.c b/dlls/gphoto2.ds/ds_image.c index 8dbba1d2f5c..ae6e11523de 100644 --- a/dlls/gphoto2.ds/ds_image.c +++ b/dlls/gphoto2.ds/ds_image.c @@ -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 * diff --git a/dlls/gphoto2.ds/ui.c b/dlls/gphoto2.ds/ui.c index 40afb9e5a32..b769a6e3909 100644 --- a/dlls/gphoto2.ds/ui.c +++ b/dlls/gphoto2.ds/ui.c @@ -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) {