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
1b544568
Commit
1b544568
authored
Feb 17, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32/tests: Silence some gcc11 warnings (-Warray-bounds).
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
37a83091
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
convert.c
dlls/oledb32/tests/convert.c
+5
-5
No files found.
dlls/oledb32/tests/convert.c
View file @
1b544568
...
...
@@ -327,7 +327,7 @@ static void test_converttoi1(void)
{
HRESULT
hr
;
signed
char
dst
;
BYTE
src
[
20
];
BYTE
src
[
sizeof
(
VARIANT
)];
/* assuming that VARIANT is larger than all the types used in src */
DBSTATUS
dst_status
;
DBLENGTH
dst_len
;
static
const
WCHAR
ten
[]
=
{
'1'
,
'0'
,
0
};
...
...
@@ -638,7 +638,7 @@ static void test_converttoi2(void)
{
HRESULT
hr
;
signed
short
dst
;
BYTE
src
[
20
];
BYTE
src
[
sizeof
(
VARIANT
)];
/* assuming that VARIANT is larger than all the types used in src */
DBSTATUS
dst_status
;
DBLENGTH
dst_len
;
static
const
WCHAR
ten
[]
=
{
'1'
,
'0'
,
0
};
...
...
@@ -950,7 +950,7 @@ static void test_converttoi4(void)
{
HRESULT
hr
;
INT
i4
;
BYTE
src
[
20
];
BYTE
src
[
sizeof
(
VARIANT
)];
/* assuming that VARIANT is larger than all the types used in src */
DBSTATUS
dst_status
;
DBLENGTH
dst_len
;
static
const
WCHAR
ten
[]
=
{
'1'
,
'0'
,
0
};
...
...
@@ -1224,7 +1224,7 @@ static void test_converttoi8(void)
{
HRESULT
hr
;
LARGE_INTEGER
dst
;
BYTE
src
[
20
];
BYTE
src
[
sizeof
(
VARIANT
)];
/* assuming that VARIANT is larger than all the types used in src */
DBSTATUS
dst_status
;
DBLENGTH
dst_len
;
static
const
WCHAR
ten
[]
=
{
'1'
,
'0'
,
0
};
...
...
@@ -2774,7 +2774,7 @@ static void test_converttoui4(void)
{
HRESULT
hr
;
DWORD
dst
;
BYTE
src
[
20
];
BYTE
src
[
sizeof
(
VARIANT
)
];
DBSTATUS
dst_status
;
DBLENGTH
dst_len
;
...
...
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