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
d4e57b15
Commit
d4e57b15
authored
Apr 17, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix some typos, remove not needed casts.
parent
d0483ec6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
virtual.c
dlls/kernel32/tests/virtual.c
+6
-6
No files found.
dlls/kernel32/tests/virtual.c
View file @
d4e57b15
...
...
@@ -667,7 +667,7 @@ static void test_MapViewOfFile(void)
ok
(
ret
,
"VirtualQuery failed with error %d
\n
"
,
GetLastError
());
ok
(
info
.
BaseAddress
==
ptr
,
"BaseAddress should have been %p but was %p instead
\n
"
,
ptr
,
info
.
BaseAddress
);
ok
(
info
.
AllocationBase
==
ptr
,
"AllocationBase should have been %p but was %p instead
\n
"
,
ptr
,
info
.
AllocationBase
);
ok
(
info
.
RegionSize
==
MAPPING_SIZE
,
"RegionSize should have been 0x%x but was 0x%
x
\n
"
,
MAPPING_SIZE
,
(
unsigned
int
)
info
.
RegionSize
);
ok
(
info
.
RegionSize
==
MAPPING_SIZE
,
"RegionSize should have been 0x%x but was 0x%
lx
\n
"
,
MAPPING_SIZE
,
info
.
RegionSize
);
ok
(
info
.
State
==
MEM_RESERVE
,
"State should have been MEM_RESERVE instead of 0x%x
\n
"
,
info
.
State
);
if
(
info
.
Type
==
MEM_PRIVATE
)
/* win9x is different for uncommitted mappings */
{
...
...
@@ -695,7 +695,7 @@ static void test_MapViewOfFile(void)
ok
(
info
.
AllocationProtect
==
PAGE_READWRITE
,
"AllocationProtect should have been PAGE_READWRITE but was 0x%x
\n
"
,
info
.
AllocationProtect
);
ok
(
info
.
RegionSize
==
MAPPING_SIZE
,
"RegionSize should have been 0x%x but was 0x%
x
\n
"
,
MAPPING_SIZE
,
(
unsigned
int
)
info
.
RegionSize
);
"RegionSize should have been 0x%x but was 0x%
lx
\n
"
,
MAPPING_SIZE
,
info
.
RegionSize
);
ok
(
info
.
State
==
MEM_RESERVE
,
"State should have been MEM_RESERVE instead of 0x%x
\n
"
,
info
.
State
);
ok
(
info
.
Protect
==
0
,
...
...
@@ -711,7 +711,7 @@ static void test_MapViewOfFile(void)
ok
(
ret
,
"VirtualQuery failed with error %d
\n
"
,
GetLastError
());
ok
(
info
.
BaseAddress
==
ptr
,
"BaseAddress should have been %p but was %p instead
\n
"
,
ptr
,
info
.
BaseAddress
);
ok
(
info
.
AllocationBase
==
ptr
,
"AllocationBase should have been %p but was %p instead
\n
"
,
ptr
,
info
.
AllocationBase
);
ok
(
info
.
RegionSize
==
0x10000
,
"RegionSize should have been 0x10000 but was 0x%
x
\n
"
,
(
unsigned
int
)
info
.
RegionSize
);
ok
(
info
.
RegionSize
==
0x10000
,
"RegionSize should have been 0x10000 but was 0x%
lx
\n
"
,
info
.
RegionSize
);
ok
(
info
.
State
==
MEM_COMMIT
,
"State should have been MEM_RESERVE instead of 0x%x
\n
"
,
info
.
State
);
ok
(
info
.
Protect
==
PAGE_READONLY
,
"Protect should have been 0 instead of 0x%x
\n
"
,
info
.
Protect
);
if
(
info
.
Type
==
MEM_PRIVATE
)
/* win9x is different for uncommitted mappings */
...
...
@@ -740,11 +740,11 @@ static void test_MapViewOfFile(void)
ok
(
info
.
AllocationProtect
==
PAGE_READWRITE
,
"AllocationProtect should have been PAGE_READWRITE but was 0x%x
\n
"
,
info
.
AllocationProtect
);
ok
(
info
.
RegionSize
==
0x10000
,
"RegionSize should have been 0x10000 but was 0x%
x
\n
"
,
(
unsigned
int
)
info
.
RegionSize
);
"RegionSize should have been 0x10000 but was 0x%
lx
\n
"
,
info
.
RegionSize
);
ok
(
info
.
State
==
MEM_COMMIT
,
"State should have been MEM_
RESERVE
instead of 0x%x
\n
"
,
info
.
State
);
"State should have been MEM_
COMMIT
instead of 0x%x
\n
"
,
info
.
State
);
ok
(
info
.
Protect
==
PAGE_READWRITE
,
"Protect should have been
0
instead of 0x%x
\n
"
,
info
.
Protect
);
"Protect should have been
PAGE_READWRITE
instead of 0x%x
\n
"
,
info
.
Protect
);
ok
(
info
.
Type
==
MEM_MAPPED
,
"Type should have been MEM_MAPPED instead of 0x%x
\n
"
,
info
.
Type
);
}
...
...
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