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
df07533a
Commit
df07533a
authored
Jun 09, 2017
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Avoid SIZE_T in traces.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
82029cba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
math.c
dlls/d3dx9_36/tests/math.c
+3
-3
No files found.
dlls/d3dx9_36/tests/math.c
View file @
df07533a
...
...
@@ -177,17 +177,17 @@ static void expect_matrix_(unsigned int line, const D3DXMATRIX *expected, const
}
#define expect_vec4_array(count, expected, vector, ulps) expect_vec4_array_(__LINE__, count, expected, vector, ulps)
static
void
expect_vec4_array_
(
unsigned
int
line
,
SIZE_T
count
,
const
D3DXVECTOR4
*
expected
,
static
void
expect_vec4_array_
(
unsigned
int
line
,
unsigned
int
count
,
const
D3DXVECTOR4
*
expected
,
const
D3DXVECTOR4
*
vector
,
unsigned
int
ulps
)
{
BOOL
equal
;
SIZE_T
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
count
;
++
i
)
{
equal
=
compare_vec4
(
&
expected
[
i
],
&
vector
[
i
],
ulps
);
ok_
(
__FILE__
,
line
)(
equal
,
"Got unexpected vector {%.8e, %.8e, %.8e, %.8e} at index %
l
u, expected {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
"Got unexpected vector {%.8e, %.8e, %.8e, %.8e} at index %u, expected {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
vector
[
i
].
x
,
vector
[
i
].
y
,
vector
[
i
].
z
,
vector
[
i
].
w
,
i
,
expected
[
i
].
x
,
expected
[
i
].
y
,
expected
[
i
].
z
,
expected
[
i
].
w
);
if
(
!
equal
)
...
...
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