Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d2756762
Commit
d2756762
authored
Apr 27, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Apr 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failures under win2k.
parent
309ed064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
safearray.c
dlls/oleaut32/tests/safearray.c
+7
-3
No files found.
dlls/oleaut32/tests/safearray.c
View file @
d2756762
...
...
@@ -659,7 +659,7 @@ static void test_SafeArrayCreateLockDestroy(void)
vt
==
VT_INT_PTR
)),
"VARTYPE %d (@%d dimensions) failed
\n
"
,
vt
,
dimension
);
else
ok
(
sa
==
NULL
||
(
vt
==
VT_R8
&&
IS_ANCIENT
)
,
ok
(
sa
==
NULL
||
vt
==
VT_R8
,
"VARTYPE %d (@%d dimensions) succeeded!
\n
"
,
vt
,
dimension
);
if
(
sa
)
...
...
@@ -667,7 +667,7 @@ static void test_SafeArrayCreateLockDestroy(void)
ok
(
SafeArrayGetDim
(
sa
)
==
(
UINT
)
dimension
,
"VARTYPE %d (@%d dimensions) cDims is %d, expected %d
\n
"
,
vt
,
dimension
,
SafeArrayGetDim
(
sa
),
dimension
);
ok
(
SafeArrayGetElemsize
(
sa
)
==
dwLen
||
(
vt
==
VT_R8
&&
IS_ANCIENT
)
,
ok
(
SafeArrayGetElemsize
(
sa
)
==
dwLen
||
vt
==
VT_R8
,
"VARTYPE %d (@%d dimensions) cbElements is %d, expected %ld
\n
"
,
vt
,
dimension
,
SafeArrayGetElemsize
(
sa
),
dwLen
);
...
...
@@ -759,7 +759,11 @@ static void test_VectorCreateLockDestroy(void)
sa
=
pSafeArrayCreateVector
(
vt
,
0
,
element
);
if
(
dwLen
)
ok
(
sa
!=
NULL
,
"VARTYPE %d (@%d elements) failed
\n
"
,
vt
,
element
);
{
/* win2000 has a bug where U/INT_PTR aren't accepted */
ok
(
sa
!=
NULL
||
vt
==
VT_INT_PTR
||
vt
==
VT_UINT_PTR
,
"VARTYPE %d (@%d elements) failed
\n
"
,
vt
,
element
);
}
else
ok
(
sa
==
NULL
,
"VARTYPE %d (@%d elements) succeeded!
\n
"
,
vt
,
element
);
...
...
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