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
44b2f66a
Commit
44b2f66a
authored
Sep 21, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove casts to the type of the casted expression.
parent
809959de
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
shellitem.c
dlls/shell32/shellitem.c
+1
-1
shfldr_netplaces.c
dlls/shell32/shfldr_netplaces.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+1
-1
ebrowser.c
dlls/shell32/tests/ebrowser.c
+2
-2
shlfolder.c
dlls/shell32/tests/shlfolder.c
+2
-2
No files found.
dlls/shell32/shellitem.c
View file @
44b2f66a
...
...
@@ -1080,7 +1080,7 @@ HRESULT WINAPI SHCreateShellItemArrayFromDataObject(IDataObject *pdo, REFIID rii
for
(
i
=
0
;
i
<
pida
->
cidl
;
i
++
)
children
[
i
]
=
(
LPCITEMIDLIST
)
((
LPBYTE
)
pida
+
pida
->
aoffset
[
i
+
1
]);
ret
=
SHCreateShellItemArray
(
parent_pidl
,
NULL
,
pida
->
cidl
,
children
,
(
IShellItemArray
**
)
&
psia
);
ret
=
SHCreateShellItemArray
(
parent_pidl
,
NULL
,
pida
->
cidl
,
children
,
&
psia
);
HeapFree
(
GetProcessHeap
(),
0
,
children
);
...
...
dlls/shell32/shfldr_netplaces.c
View file @
44b2f66a
...
...
@@ -367,7 +367,7 @@ static HRESULT WINAPI ISF_NetworkPlaces_fnGetAttributesOf (IShellFolder2 * iface
IShellFolder
*
psfParent
=
NULL
;
LPCITEMIDLIST
rpidl
=
NULL
;
hr
=
SHBindToParent
(
This
->
pidlRoot
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psfParent
,
(
LPCITEMIDLIST
*
)
&
rpidl
);
hr
=
SHBindToParent
(
This
->
pidlRoot
,
&
IID_IShellFolder
,
(
void
**
)
&
psfParent
,
&
rpidl
);
if
(
SUCCEEDED
(
hr
))
{
SHELL32_GetItemAttributes
(
psfParent
,
rpidl
,
rgfInOut
);
...
...
dlls/shell32/shlview.c
View file @
44b2f66a
...
...
@@ -731,7 +731,7 @@ static LRESULT ShellView_OnCreate(IShellViewImpl *This)
LPITEMIDLIST
raw_pidl
;
SHChangeNotifyEntry
ntreg
;
hr
=
IPersistFolder2_GetCurFolder
(
ppf2
,
(
LPITEMIDLIST
*
)
&
raw_pidl
);
hr
=
IPersistFolder2_GetCurFolder
(
ppf2
,
&
raw_pidl
);
if
(
SUCCEEDED
(
hr
))
{
LPITEMIDLIST
computer_pidl
;
...
...
dlls/shell32/tests/ebrowser.c
View file @
44b2f66a
...
...
@@ -466,7 +466,7 @@ static HRESULT WINAPI IServiceProvider_fnQueryInterface(IServiceProvider *iface,
if
(
IsEqualIID
(
riid
,
&
IID_IServiceProvider
))
{
*
ppvObj
=
iface
;
IServiceProvider_AddRef
(
(
IServiceProvider
*
)
iface
);
IServiceProvider_AddRef
(
iface
);
return
S_OK
;
}
...
...
@@ -532,7 +532,7 @@ static HRESULT WINAPI IServiceProvider_fnQueryService(IServiceProvider *iface,
if
(
punk
)
{
*
ppv
=
punk
;
IUnknown_AddRef
(
(
IUnknown
*
)
punk
);
IUnknown_AddRef
(
punk
);
return
S_OK
;
}
...
...
dlls/shell32/tests/shlfolder.c
View file @
44b2f66a
...
...
@@ -3894,8 +3894,8 @@ static void test_GetUIObject(void)
ok
(
hr
==
S_OK
,
"Got 0x%08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IShellFolder_GetUIObjectOf
(
psf
,
NULL
,
1
,
(
LPCITEMIDLIST
*
)
&
pidl_child
,
&
IID_IContextMenu
,
NULL
,
(
void
**
)
&
pcm
);
hr
=
IShellFolder_GetUIObjectOf
(
psf
,
NULL
,
1
,
&
pidl_child
,
&
IID_IContextMenu
,
NULL
,
(
void
**
)
&
pcm
);
ok
(
hr
==
S_OK
,
"Got 0x%08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
...
...
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