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
82a042d0
Commit
82a042d0
authored
Dec 13, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Cast-qual warnings fix.
parent
df9715b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cstub.c
dlls/rpcrt4/tests/cstub.c
+1
-1
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+1
-1
No files found.
dlls/rpcrt4/tests/cstub.c
View file @
82a042d0
...
@@ -605,7 +605,7 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf)
...
@@ -605,7 +605,7 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf)
IUnknown
*
obj
=
(
IUnknown
*
)
&
vtbl
;
IUnknown
*
obj
=
(
IUnknown
*
)
&
vtbl
;
IRpcStubBuffer
*
pstub
=
create_stub
(
ppsf
,
&
IID_if1
,
obj
,
S_OK
);
IRpcStubBuffer
*
pstub
=
create_stub
(
ppsf
,
&
IID_if1
,
obj
,
S_OK
);
CStdStubBuffer
*
cstd_stub
=
(
CStdStubBuffer
*
)
pstub
;
CStdStubBuffer
*
cstd_stub
=
(
CStdStubBuffer
*
)
pstub
;
CInterfaceStubHeader
*
header
=
((
CInterfaceStubHeader
*
)
cstd_stub
->
lpVtbl
)
-
1
;
const
CInterfaceStubHeader
*
header
=
((
const
CInterfaceStubHeader
*
)
cstd_stub
->
lpVtbl
)
-
1
;
ok
(
IsEqualIID
(
header
->
piid
,
&
IID_if1
),
"header iid differs
\n
"
);
ok
(
IsEqualIID
(
header
->
piid
,
&
IID_if1
),
"header iid differs
\n
"
);
ok
(
cstd_stub
->
RefCount
==
1
,
"ref count %d
\n
"
,
cstd_stub
->
RefCount
);
ok
(
cstd_stub
->
RefCount
==
1
,
"ref count %d
\n
"
,
cstd_stub
->
RefCount
);
...
...
dlls/rpcrt4/tests/ndr_marshall.c
View file @
82a042d0
...
@@ -224,7 +224,7 @@ todo_wine {
...
@@ -224,7 +224,7 @@ todo_wine {
static
int
deref_cmp
(
const
void
*
s1
,
const
void
*
s2
,
size_t
num
)
static
int
deref_cmp
(
const
void
*
s1
,
const
void
*
s2
,
size_t
num
)
{
{
return
memcmp
(
*
(
void
**
)
s1
,
*
(
void
*
*
)
s2
,
num
);
return
memcmp
(
*
(
const
void
*
const
*
)
s1
,
*
(
const
void
*
const
*
)
s2
,
num
);
}
}
...
...
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