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
35d6217d
Commit
35d6217d
authored
Aug 29, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a couple of superfluous casts.
parent
7cdf3389
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
storage32.c
dlls/ole32/storage32.c
+4
-4
brsfolder.c
dlls/shell32/brsfolder.c
+1
-1
shlmenu.c
dlls/shell32/shlmenu.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+1
-1
No files found.
dlls/ole32/storage32.c
View file @
35d6217d
...
@@ -5918,7 +5918,7 @@ HRESULT WINAPI StgCreateDocfile(
...
@@ -5918,7 +5918,7 @@ HRESULT WINAPI StgCreateDocfile(
*/
*/
hr
=
StorageBaseImpl_QueryInterface
(
hr
=
StorageBaseImpl_QueryInterface
(
(
IStorage
*
)
newStorage
,
(
IStorage
*
)
newStorage
,
(
REFIID
)
&
IID_IStorage
,
&
IID_IStorage
,
(
void
**
)
ppstgOpen
);
(
void
**
)
ppstgOpen
);
end:
end:
TRACE
(
"<-- %p r = %08x
\n
"
,
*
ppstgOpen
,
hr
);
TRACE
(
"<-- %p r = %08x
\n
"
,
*
ppstgOpen
,
hr
);
...
@@ -6222,7 +6222,7 @@ HRESULT WINAPI StgOpenStorage(
...
@@ -6222,7 +6222,7 @@ HRESULT WINAPI StgOpenStorage(
*/
*/
hr
=
StorageBaseImpl_QueryInterface
(
hr
=
StorageBaseImpl_QueryInterface
(
(
IStorage
*
)
newStorage
,
(
IStorage
*
)
newStorage
,
(
REFIID
)
&
IID_IStorage
,
&
IID_IStorage
,
(
void
**
)
ppstgOpen
);
(
void
**
)
ppstgOpen
);
end:
end:
...
@@ -6276,7 +6276,7 @@ HRESULT WINAPI StgCreateDocfileOnILockBytes(
...
@@ -6276,7 +6276,7 @@ HRESULT WINAPI StgCreateDocfileOnILockBytes(
*/
*/
hr
=
StorageBaseImpl_QueryInterface
(
hr
=
StorageBaseImpl_QueryInterface
(
(
IStorage
*
)
newStorage
,
(
IStorage
*
)
newStorage
,
(
REFIID
)
&
IID_IStorage
,
&
IID_IStorage
,
(
void
**
)
ppstgOpen
);
(
void
**
)
ppstgOpen
);
return
hr
;
return
hr
;
...
@@ -6341,7 +6341,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(
...
@@ -6341,7 +6341,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(
*/
*/
hr
=
StorageBaseImpl_QueryInterface
(
hr
=
StorageBaseImpl_QueryInterface
(
(
IStorage
*
)
newStorage
,
(
IStorage
*
)
newStorage
,
(
REFIID
)
&
IID_IStorage
,
&
IID_IStorage
,
(
void
**
)
ppstgOpen
);
(
void
**
)
ppstgOpen
);
return
hr
;
return
hr
;
...
...
dlls/shell32/brsfolder.c
View file @
35d6217d
...
@@ -521,7 +521,7 @@ static LRESULT BrsFolder_Treeview_Expand( browse_info *info, NMTREEVIEWW *pnmtv
...
@@ -521,7 +521,7 @@ static LRESULT BrsFolder_Treeview_Expand( browse_info *info, NMTREEVIEWW *pnmtv
if
(
lptvid
->
lpi
&&
lptvid
->
lpi
->
mkid
.
cb
)
{
if
(
lptvid
->
lpi
&&
lptvid
->
lpi
->
mkid
.
cb
)
{
r
=
IShellFolder_BindToObject
(
lptvid
->
lpsfParent
,
lptvid
->
lpi
,
0
,
r
=
IShellFolder_BindToObject
(
lptvid
->
lpsfParent
,
lptvid
->
lpi
,
0
,
(
REFIID
)
&
IID_IShellFolder
,
(
LPVOID
*
)
&
lpsf2
);
&
IID_IShellFolder
,
(
LPVOID
*
)
&
lpsf2
);
}
else
{
}
else
{
lpsf2
=
lptvid
->
lpsfParent
;
lpsf2
=
lptvid
->
lpsfParent
;
r
=
IShellFolder_AddRef
(
lpsf2
);
r
=
IShellFolder_AddRef
(
lpsf2
);
...
...
dlls/shell32/shlmenu.c
View file @
35d6217d
...
@@ -172,7 +172,7 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
...
@@ -172,7 +172,7 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
if
(
SUCCEEDED
(
SHGetDesktopFolder
(
&
lpsf
)))
if
(
SUCCEEDED
(
SHGetDesktopFolder
(
&
lpsf
)))
{
{
if
(
SUCCEEDED
(
IShellFolder_BindToObject
(
lpsf
,
pidl
,
0
,
(
REFIID
)
&
IID_IShellFolder
,(
LPVOID
*
)
&
lpsf2
)))
if
(
SUCCEEDED
(
IShellFolder_BindToObject
(
lpsf
,
pidl
,
0
,
&
IID_IShellFolder
,(
LPVOID
*
)
&
lpsf2
)))
{
{
IEnumIDList
*
lpe
=
NULL
;
IEnumIDList
*
lpe
=
NULL
;
...
...
dlls/shell32/shlview.c
View file @
35d6217d
...
@@ -976,7 +976,7 @@ static void ShellView_DoContextMenu(IShellViewImpl * This, WORD x, WORD y, BOOL
...
@@ -976,7 +976,7 @@ static void ShellView_DoContextMenu(IShellViewImpl * This, WORD x, WORD y, BOOL
if
(
ShellView_GetSelections
(
This
)
)
if
(
ShellView_GetSelections
(
This
)
)
{
{
IShellFolder_GetUIObjectOf
(
This
->
pSFParent
,
This
->
hWndParent
,
This
->
cidl
,
(
LPCITEMIDLIST
*
)
This
->
apidl
,
IShellFolder_GetUIObjectOf
(
This
->
pSFParent
,
This
->
hWndParent
,
This
->
cidl
,
(
LPCITEMIDLIST
*
)
This
->
apidl
,
(
REFIID
)
&
IID_IContextMenu
,
NULL
,
(
LPVOID
*
)
&
pContextMenu
);
&
IID_IContextMenu
,
NULL
,
(
LPVOID
*
)
&
pContextMenu
);
if
(
pContextMenu
)
if
(
pContextMenu
)
{
{
...
...
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