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
3b640ca4
Commit
3b640ca4
authored
Jan 02, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signed/unsigned warnings.
parent
8418d8f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
safearray.c
dlls/oleaut32/tests/safearray.c
+3
-3
No files found.
dlls/oleaut32/tests/safearray.c
View file @
3b640ca4
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#include "oleauto.h"
#include "oleauto.h"
#define VARTYPE_NOT_SUPPORTED 0
#define VARTYPE_NOT_SUPPORTED 0
static
int
vttypes
[]
=
{
static
ULONG
vttypes
[]
=
{
/* this is taken from wtypes.h. Only [S]es are supported by the SafeArray */
/* this is taken from wtypes.h. Only [S]es are supported by the SafeArray */
VARTYPE_NOT_SUPPORTED
,
/* VT_EMPTY [V] [P] nothing */
VARTYPE_NOT_SUPPORTED
,
/* VT_EMPTY [V] [P] nothing */
VARTYPE_NOT_SUPPORTED
,
/* VT_NULL [V] [P] SQL style Nul */
VARTYPE_NOT_SUPPORTED
,
/* VT_NULL [V] [P] SQL style Nul */
...
@@ -88,7 +88,7 @@ VARTYPE_NOT_SUPPORTED /* VT_BYREF [V] void* for local use */
...
@@ -88,7 +88,7 @@ VARTYPE_NOT_SUPPORTED /* VT_BYREF [V] void* for local use */
START_TEST
(
safearray
)
START_TEST
(
safearray
)
{
{
SAFEARRAY
*
a
;
SAFEARRAY
*
a
;
int
i
;
unsigned
short
i
;
HRESULT
hres
;
HRESULT
hres
;
SAFEARRAYBOUND
bound
;
SAFEARRAYBOUND
bound
;
...
@@ -130,7 +130,7 @@ START_TEST(safearray)
...
@@ -130,7 +130,7 @@ START_TEST(safearray)
a
=
SafeArrayCreate
(
i
,
1
,
&
bound
);
a
=
SafeArrayCreate
(
i
,
1
,
&
bound
);
ok
(
((
a
==
NULL
)
&&
(
vttypes
[
i
]
==
0
))
||
ok
(
((
a
==
NULL
)
&&
(
vttypes
[
i
]
==
0
))
||
((
a
!=
NULL
)
&&
(
vttypes
[
i
]
==
a
->
cbElements
)),
((
a
!=
NULL
)
&&
(
vttypes
[
i
]
==
a
->
cbElements
)),
"SAC(%d,1,[1,0]), result %ld, expected %d
\n
"
,
i
,(
a
?
a
->
cbElements
:
0
),
vttypes
[
i
]
"SAC(%d,1,[1,0]), result %ld, expected %
l
d
\n
"
,
i
,(
a
?
a
->
cbElements
:
0
),
vttypes
[
i
]
);
);
}
}
}
}
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