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
3a7a6127
Commit
3a7a6127
authored
Feb 01, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Removed useless casts to long.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0c0f80a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
debug.c
dlls/kernelbase/debug.c
+2
-2
No files found.
dlls/kernelbase/debug.c
View file @
3a7a6127
...
...
@@ -461,13 +461,13 @@ static BOOL start_debugger( EXCEPTION_POINTERS *epointers, HANDLE event )
{
size_t
format_size
=
lstrlenW
(
format
)
+
2
*
20
;
cmdline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
format_size
*
sizeof
(
WCHAR
)
);
swprintf
(
cmdline
,
format_size
,
format
,
(
long
)
GetCurrentProcessId
(),
(
long
)
HandleToLong
(
event
)
);
swprintf
(
cmdline
,
format_size
,
format
,
GetCurrentProcessId
(),
HandleToLong
(
event
)
);
HeapFree
(
GetProcessHeap
(),
0
,
format
);
}
else
{
cmdline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
80
*
sizeof
(
WCHAR
)
);
swprintf
(
cmdline
,
80
,
L"winedbg --auto %ld %ld"
,
(
long
)
GetCurrentProcessId
(),
(
long
)
HandleToLong
(
event
)
);
swprintf
(
cmdline
,
80
,
L"winedbg --auto %ld %ld"
,
GetCurrentProcessId
(),
HandleToLong
(
event
)
);
}
if
(
!
autostart
)
...
...
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