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
b38d52ce
Commit
b38d52ce
authored
Mar 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use correct integral type.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c9631780
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
fiber.c
dlls/kernel32/tests/fiber.c
+4
-3
No files found.
dlls/kernel32/tests/fiber.c
View file @
b38d52ce
...
@@ -285,6 +285,7 @@ static void test_FiberLocalStorage(void)
...
@@ -285,6 +285,7 @@ static void test_FiberLocalStorage(void)
PEB
*
peb
=
teb
->
Peb
;
PEB
*
peb
=
teb
->
Peb
;
NTSTATUS
status
;
NTSTATUS
status
;
HANDLE
hthread
;
HANDLE
hthread
;
ULONG
index2
;
SIZE_T
size
;
SIZE_T
size
;
void
*
val
;
void
*
val
;
BOOL
ret
;
BOOL
ret
;
...
@@ -407,13 +408,13 @@ static void test_FiberLocalStorage(void)
...
@@ -407,13 +408,13 @@ static void test_FiberLocalStorage(void)
g_fls_data
->
fls_callback_chunks
[
j
]
->
callbacks
[
index
].
callback
);
g_fls_data
->
fls_callback_chunks
[
j
]
->
callbacks
[
index
].
callback
);
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]
=
(
void
*
)(
ULONG_PTR
)
0x28
;
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]
=
(
void
*
)(
ULONG_PTR
)
0x28
;
status
=
pRtlFlsAlloc
(
test_fls_callback
,
&
i
);
status
=
pRtlFlsAlloc
(
test_fls_callback
,
&
i
ndex2
);
ok
(
!
status
,
"Got unexpected status %#x.
\n
"
,
status
);
ok
(
!
status
,
"Got unexpected status %#x.
\n
"
,
status
);
ok
(
i
==
fls_indices
[
0x10
],
"Got unexpected index %u.
\n
"
,
i
);
ok
(
i
ndex2
==
fls_indices
[
0x10
],
"Got unexpected index %u.
\n
"
,
index2
);
ok
(
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]
==
(
void
*
)(
ULONG_PTR
)
0x28
,
"Got unexpected data %p.
\n
"
,
ok
(
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]
==
(
void
*
)(
ULONG_PTR
)
0x28
,
"Got unexpected data %p.
\n
"
,
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]);
fls_data
->
fls_data_chunks
[
j
][
index
+
1
]);
status
=
pRtlFlsSetValue
(
i
,
(
void
*
)(
ULONG_PTR
)
0x11
);
status
=
pRtlFlsSetValue
(
i
ndex2
,
(
void
*
)(
ULONG_PTR
)
0x11
);
ok
(
!
status
,
"Got unexpected status %#x.
\n
"
,
status
);
ok
(
!
status
,
"Got unexpected status %#x.
\n
"
,
status
);
teb
->
FlsSlots
=
NULL
;
teb
->
FlsSlots
=
NULL
;
...
...
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