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
02a1c0d7
Commit
02a1c0d7
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix some integer to pointer conversion warnings.
parent
0014046a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
process.c
dlls/kernel32/tests/process.c
+6
-6
No files found.
dlls/kernel32/tests/process.c
View file @
02a1c0d7
...
...
@@ -241,7 +241,7 @@ static void doChild(const char* file, const char* option)
siA
.
dwX
,
siA
.
dwY
,
siA
.
dwXSize
,
siA
.
dwYSize
,
siA
.
dwXCountChars
,
siA
.
dwYCountChars
,
siA
.
dwFillAttribute
,
siA
.
dwFlags
,
siA
.
wShowWindow
,
(
DWORD
)
siA
.
hStdInput
,
(
DWORD
)
siA
.
hStdOutput
,
(
DWORD
)
siA
.
hStdError
);
(
DWORD
_PTR
)
siA
.
hStdInput
,
(
DWORD_PTR
)
siA
.
hStdOutput
,
(
DWORD_PTR
)
siA
.
hStdError
);
/* since GetStartupInfoW is only implemented in win2k,
* zero out before calling so we can notice the difference
...
...
@@ -258,7 +258,7 @@ static void doChild(const char* file, const char* option)
siW
.
dwX
,
siW
.
dwY
,
siW
.
dwXSize
,
siW
.
dwYSize
,
siW
.
dwXCountChars
,
siW
.
dwYCountChars
,
siW
.
dwFillAttribute
,
siW
.
dwFlags
,
siW
.
wShowWindow
,
(
DWORD
)
siW
.
hStdInput
,
(
DWORD
)
siW
.
hStdOutput
,
(
DWORD
)
siW
.
hStdError
);
(
DWORD
_PTR
)
siW
.
hStdInput
,
(
DWORD_PTR
)
siW
.
hStdOutput
,
(
DWORD_PTR
)
siW
.
hStdError
);
/* Arguments */
childPrintf
(
hFile
,
"[Arguments]
\n
argcA=%d
\n
"
,
myARGC
);
...
...
@@ -492,7 +492,7 @@ static void ok_child_stringWA( int line, const char *sect, const char *key,
#define okChildInt(sect, key, expect) \
do { \
UINT result = GetPrivateProfileIntA((sect), (key), !(expect), resfile); \
ok(result == expect, "%s:%s expected %
d, but got %d\n", (sect), (key), (int
)(expect), result); \
ok(result == expect, "%s:%s expected %
u, but got %u\n", (sect), (key), (UINT
)(expect), result); \
} while (0)
static
void
test_Startup
(
void
)
...
...
@@ -1292,9 +1292,9 @@ static void test_Console(void)
okChildInt
(
"StartupInfoA"
,
"wShowWindow"
,
startup
.
wShowWindow
);
/* check child correctly inherited the console */
okChildInt
(
"StartupInfoA"
,
"hStdInput"
,
(
DWORD
)
startup
.
hStdInput
);
okChildInt
(
"StartupInfoA"
,
"hStdOutput"
,
(
DWORD
)
startup
.
hStdOutput
);
okChildInt
(
"StartupInfoA"
,
"hStdError"
,
(
DWORD
)
startup
.
hStdError
);
okChildInt
(
"StartupInfoA"
,
"hStdInput"
,
(
DWORD
_PTR
)
startup
.
hStdInput
);
okChildInt
(
"StartupInfoA"
,
"hStdOutput"
,
(
DWORD
_PTR
)
startup
.
hStdOutput
);
okChildInt
(
"StartupInfoA"
,
"hStdError"
,
(
DWORD
_PTR
)
startup
.
hStdError
);
okChildInt
(
"Console"
,
"SizeX"
,
(
DWORD
)
sbi
.
dwSize
.
X
);
okChildInt
(
"Console"
,
"SizeY"
,
(
DWORD
)
sbi
.
dwSize
.
Y
);
okChildInt
(
"Console"
,
"CursorX"
,
(
DWORD
)
sbi
.
dwCursorPosition
.
X
);
...
...
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