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
9d9f6da7
Commit
9d9f6da7
authored
Jul 28, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Fix a test failure on 64-bit platforms.
parent
e0f1aa0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
server.c
dlls/rpcrt4/tests/server.c
+3
-3
No files found.
dlls/rpcrt4/tests/server.c
View file @
9d9f6da7
...
@@ -342,13 +342,13 @@ int __cdecl s_sum_cpsc(cpsc_t *cpsc)
...
@@ -342,13 +342,13 @@ int __cdecl s_sum_cpsc(cpsc_t *cpsc)
int
__cdecl
s_get_cpsc
(
int
n
,
cpsc_t
*
cpsc
)
int
__cdecl
s_get_cpsc
(
int
n
,
cpsc_t
*
cpsc
)
{
{
static
int
array
[]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
};
int
i
,
ret
;
int
i
,
ret
;
cpsc
->
ca
=
array
;
cpsc
->
a
=
2
*
n
;
cpsc
->
a
=
min
(
10
,
2
*
n
);
cpsc
->
b
=
2
;
cpsc
->
b
=
2
;
cpsc
->
c
=
1
;
cpsc
->
c
=
1
;
cpsc
->
ca
=
MIDL_user_allocate
(
cpsc
->
a
*
sizeof
(
int
)
);
for
(
i
=
ret
=
0
;
i
<
cpsc
->
a
;
i
++
)
cpsc
->
ca
[
i
]
=
i
;
for
(
i
=
ret
=
0
;
i
<
cpsc
->
a
;
i
++
)
ret
+=
cpsc
->
ca
[
i
];
for
(
i
=
ret
=
0
;
i
<
cpsc
->
a
;
i
++
)
ret
+=
cpsc
->
ca
[
i
];
return
ret
;
return
ret
;
}
}
...
...
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