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
b9f78daf
Commit
b9f78daf
authored
Apr 09, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineboot: Fix Win64 warnings.
parent
a5816064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
wineboot.c
programs/wineboot/wineboot.c
+7
-3
No files found.
programs/wineboot/wineboot.c
View file @
b9f78daf
...
@@ -637,7 +637,6 @@ static BOOL ProcessStartupItems(void)
...
@@ -637,7 +637,6 @@ static BOOL ProcessStartupItems(void)
{
{
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
HRESULT
hr
;
HRESULT
hr
;
int
iRet
;
IMalloc
*
ppM
=
NULL
;
IMalloc
*
ppM
=
NULL
;
IShellFolder
*
psfDesktop
=
NULL
,
*
psfStartup
=
NULL
;
IShellFolder
*
psfDesktop
=
NULL
,
*
psfStartup
=
NULL
;
LPITEMIDLIST
pidlStartup
=
NULL
,
pidlItem
;
LPITEMIDLIST
pidlStartup
=
NULL
,
pidlItem
;
...
@@ -695,8 +694,13 @@ static BOOL ProcessStartupItems(void)
...
@@ -695,8 +694,13 @@ static BOOL ProcessStartupItems(void)
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
WINE_TRACE
(
"Unable to parse display name.
\n
"
);
WINE_TRACE
(
"Unable to parse display name.
\n
"
);
else
else
if
((
iRet
=
(
int
)
ShellExecuteW
(
NULL
,
NULL
,
wszCommand
,
NULL
,
NULL
,
SW_SHOWNORMAL
))
<=
32
)
{
WINE_WARN
(
"Error %d executing command %s.
\n
"
,
iRet
,
wine_dbgstr_w
(
wszCommand
));
HINSTANCE
hinst
;
hinst
=
ShellExecuteW
(
NULL
,
NULL
,
wszCommand
,
NULL
,
NULL
,
SW_SHOWNORMAL
);
if
(
PtrToUlong
(
hinst
)
<=
32
)
WINE_WARN
(
"Error %p executing command %s.
\n
"
,
hinst
,
wine_dbgstr_w
(
wszCommand
));
}
}
}
IMalloc_Free
(
ppM
,
pidlItem
);
IMalloc_Free
(
ppM
,
pidlItem
);
...
...
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