Michael Stefaniuc : gphoto.ds: Remove superfluous pointer casts.
Alexandre Julliard
julliard at winehq.org
Tue Jan 27 09:08:10 CST 2009
Module: wine
Branch: master
Commit: 2c5da7de49664621d0efeb1f696b5ebc9b9e6166
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c5da7de49664621d0efeb1f696b5ebc9b9e6166
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Jan 27 11:36:42 2009 +0100
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 8dbba1d..ae6e115 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 40afb9e..b769a6e 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)
{
More information about the wine-cvs
mailing list