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
fa1d0498
Commit
fa1d0498
authored
Dec 05, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Remove two superfluous casts.
parent
f4c2f2b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
atl_ax.c
dlls/atl/atl_ax.c
+1
-1
registrar.c
dlls/atl/registrar.c
+1
-1
No files found.
dlls/atl/atl_ax.c
View file @
fa1d0498
...
@@ -1244,7 +1244,7 @@ HWND WINAPI AtlAxCreateDialogW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPRO
...
@@ -1244,7 +1244,7 @@ HWND WINAPI AtlAxCreateDialogW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPRO
hgl
=
LoadResource
(
hInst
,
hrsrc
);
hgl
=
LoadResource
(
hInst
,
hrsrc
);
if
(
!
hgl
)
if
(
!
hgl
)
return
NULL
;
return
NULL
;
ptr
=
(
LPCDLGTEMPLATEW
)
LockResource
(
hgl
);
ptr
=
LockResource
(
hgl
);
if
(
!
ptr
)
if
(
!
ptr
)
{
{
FreeResource
(
hgl
);
FreeResource
(
hgl
);
...
...
dlls/atl/registrar.c
View file @
fa1d0498
...
@@ -439,7 +439,7 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
...
@@ -439,7 +439,7 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
if
(
hins
)
{
if
(
hins
)
{
src
=
FindResourceW
(
hins
,
szID
,
szType
);
src
=
FindResourceW
(
hins
,
szID
,
szType
);
if
(
src
)
{
if
(
src
)
{
regstra
=
(
LPSTR
)
LoadResource
(
hins
,
src
);
regstra
=
LoadResource
(
hins
,
src
);
reslen
=
SizeofResource
(
hins
,
src
);
reslen
=
SizeofResource
(
hins
,
src
);
if
(
regstra
)
{
if
(
regstra
)
{
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
regstra
,
reslen
,
NULL
,
0
)
+
1
;
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
regstra
,
reslen
,
NULL
,
0
)
+
1
;
...
...
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