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
22facc67
Commit
22facc67
authored
Mar 28, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Mark unsigned entitities as unsigned.
parent
5b690b08
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
resource.c
dlls/user32/tests/resource.c
+4
-4
No files found.
dlls/user32/tests/resource.c
View file @
22facc67
...
@@ -74,8 +74,8 @@ static void test_LoadStringA (void)
...
@@ -74,8 +74,8 @@ static void test_LoadStringA (void)
static
const
char
str
[]
=
"String resource"
;
/* same in resource.rc */
static
const
char
str
[]
=
"String resource"
;
/* same in resource.rc */
char
buf
[
128
];
char
buf
[
128
];
struct
string_test
{
struct
string_test
{
int
bufsiz
;
unsigned
int
bufsiz
;
int
expected
;
unsigned
int
expected
;
};
};
struct
string_test
tests
[]
=
{{
sizeof
buf
,
sizeof
str
-
1
},
struct
string_test
tests
[]
=
{{
sizeof
buf
,
sizeof
str
-
1
},
{
sizeof
str
,
sizeof
str
-
1
},
{
sizeof
str
,
sizeof
str
-
1
},
...
@@ -85,8 +85,8 @@ static void test_LoadStringA (void)
...
@@ -85,8 +85,8 @@ static void test_LoadStringA (void)
assert
(
sizeof
str
<
sizeof
buf
);
assert
(
sizeof
str
<
sizeof
buf
);
for
(
i
=
0
;
i
<
sizeof
tests
/
sizeof
tests
[
0
];
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
tests
/
sizeof
tests
[
0
];
i
++
)
{
const
int
bufsiz
=
tests
[
i
].
bufsiz
;
const
unsigned
int
bufsiz
=
tests
[
i
].
bufsiz
;
const
int
expected
=
tests
[
i
].
expected
;
const
unsigned
int
expected
=
tests
[
i
].
expected
;
const
int
len
=
LoadStringA
(
hInst
,
0
,
buf
,
bufsiz
);
const
int
len
=
LoadStringA
(
hInst
,
0
,
buf
,
bufsiz
);
ok
(
len
==
expected
,
"bufsiz=%d: got %d, expected %d
\n
"
,
ok
(
len
==
expected
,
"bufsiz=%d: got %d, expected %d
\n
"
,
...
...
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