Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2c5da7de
Commit
2c5da7de
authored
Jan 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gphoto.ds: Remove superfluous pointer casts.
parent
54353200
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ds_image.c
dlls/gphoto2.ds/ds_image.c
+1
-1
ui.c
dlls/gphoto2.ds/ui.c
+1
-1
No files found.
dlls/gphoto2.ds/ds_image.c
View file @
2c5da7de
...
...
@@ -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
*
...
...
dlls/gphoto2.ds/ui.c
View file @
2c5da7de
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment