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
d5a998b3
Commit
d5a998b3
authored
May 25, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
May 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix some pointer to integer casts.
parent
d39686f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
console.c
dlls/kernel/console.c
+2
-2
No files found.
dlls/kernel/console.c
View file @
d5a998b3
...
...
@@ -1040,7 +1040,7 @@ static BOOL start_console_renderer_helper(const char* appname, STARTUPINFOA*
PROCESS_INFORMATION
pi
;
/* FIXME: use dynamic allocation for most of the buffers below */
ret
=
snprintf
(
buffer
,
sizeof
(
buffer
),
"%s --use-event=%
d"
,
appname
,
(
INT
)
hEvent
);
ret
=
snprintf
(
buffer
,
sizeof
(
buffer
),
"%s --use-event=%
ld"
,
appname
,
(
DWORD_PTR
)
hEvent
);
if
((
ret
>
-
1
)
&&
(
ret
<
sizeof
(
buffer
))
&&
CreateProcessA
(
NULL
,
buffer
,
NULL
,
NULL
,
TRUE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
si
,
&
pi
))
...
...
@@ -1532,7 +1532,7 @@ static WINE_EXCEPTION_FILTER(CONSOLE_CtrlEventHandler)
*/
static
DWORD
WINAPI
CONSOLE_SendEventThread
(
void
*
pmt
)
{
DWORD
event
=
(
DWORD
)
pmt
;
DWORD
_PTR
event
=
(
DWORD_PTR
)
pmt
;
struct
ConsoleHandler
*
ch
;
if
(
event
==
CTRL_C_EVENT
)
...
...
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