Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3a95eaab
Commit
3a95eaab
authored
Jan 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Remove superfluous casts from/to void pointers.
parent
a50629fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
browseui_main.c
dlls/browseui/browseui_main.c
+1
-1
progressdlg.c
dlls/browseui/progressdlg.c
+1
-1
autocomplete.c
dlls/browseui/tests/autocomplete.c
+1
-1
No files found.
dlls/browseui/browseui_main.c
View file @
3a95eaab
...
...
@@ -146,7 +146,7 @@ static HRESULT ClassFactory_Constructor(LPFNCONSTRUCTOR ctor, LPVOID *ppvOut)
This
->
vtbl
=
&
ClassFactoryVtbl
;
This
->
ref
=
1
;
This
->
ctor
=
ctor
;
*
ppvOut
=
(
LPVOID
)
This
;
*
ppvOut
=
This
;
TRACE
(
"Created class factory %p
\n
"
,
This
);
BROWSEUI_refCount
++
;
return
S_OK
;
...
...
dlls/browseui/progressdlg.c
View file @
3a95eaab
...
...
@@ -223,7 +223,7 @@ static DWORD WINAPI dialog_thread(LPVOID lpParameter)
{
/* Note: until we set the hEvent in WM_INITDIALOG, the ProgressDialog object
* is protected by the critical section held by StartProgress */
struct
create_params
*
params
=
(
struct
create_params
*
)
lpParameter
;
struct
create_params
*
params
=
lpParameter
;
HWND
hwnd
;
MSG
msg
;
...
...
dlls/browseui/tests/autocomplete.c
View file @
3a95eaab
...
...
@@ -48,7 +48,7 @@
static
LPWSTR
strdup_AtoW
(
LPCSTR
str
)
{
int
size
=
MultiByteToWideChar
(
CP_ACP
,
0
,
str
,
-
1
,
NULL
,
0
);
LPWSTR
wstr
=
(
LPWSTR
)
CoTaskMemAlloc
((
size
+
1
)
*
sizeof
(
WCHAR
));
LPWSTR
wstr
=
CoTaskMemAlloc
((
size
+
1
)
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
str
,
-
1
,
wstr
,
size
+
1
);
return
wstr
;
}
...
...
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