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
9b933a35
Commit
9b933a35
authored
Mar 27, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Apr 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix compiler warnings with flag -Wcast-qual.
parent
0a671deb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+8
-8
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
9b933a35
...
...
@@ -2395,7 +2395,7 @@ unsigned char * WINAPI NdrNonConformantStringMarshall(PMIDL_STUB_MESSAGE pStubM
TRACE
(
"(pStubMsg == ^%p, pMemory == ^%p, pFormat == ^%p)
\n
"
,
pStubMsg
,
pMemory
,
pFormat
);
maxsize
=
*
(
USHORT
*
)
&
pFormat
[
2
];
maxsize
=
*
(
const
USHORT
*
)
&
pFormat
[
2
];
if
(
*
pFormat
==
RPC_FC_CSTRING
)
{
...
...
@@ -2445,7 +2445,7 @@ unsigned char * WINAPI NdrNonConformantStringUnmarshall(PMIDL_STUB_MESSAGE pStu
TRACE
(
"(pStubMsg == ^%p, *pMemory == ^%p, pFormat == ^%p, fMustAlloc == %u)
\n
"
,
pStubMsg
,
*
ppMemory
,
pFormat
,
fMustAlloc
);
maxsize
=
*
(
USHORT
*
)
&
pFormat
[
2
];
maxsize
=
*
(
const
USHORT
*
)
&
pFormat
[
2
];
ReadVariance
(
pStubMsg
,
NULL
,
maxsize
);
if
(
pStubMsg
->
Offset
)
...
...
@@ -2495,7 +2495,7 @@ void WINAPI NdrNonConformantStringBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
TRACE
(
"(pStubMsg == ^%p, pMemory == ^%p, pFormat == ^%p)
\n
"
,
pStubMsg
,
pMemory
,
pFormat
);
maxsize
=
*
(
USHORT
*
)
&
pFormat
[
2
];
maxsize
=
*
(
const
USHORT
*
)
&
pFormat
[
2
];
SizeVariance
(
pStubMsg
);
...
...
@@ -2538,7 +2538,7 @@ ULONG WINAPI NdrNonConformantStringMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
TRACE
(
"(pStubMsg == ^%p, pFormat == ^%p)
\n
"
,
pStubMsg
,
pFormat
);
maxsize
=
*
(
USHORT
*
)
&
pFormat
[
2
];
maxsize
=
*
(
const
USHORT
*
)
&
pFormat
[
2
];
ReadVariance
(
pStubMsg
,
NULL
,
maxsize
);
...
...
@@ -6268,7 +6268,7 @@ static unsigned char *WINAPI NdrRangeMarshall(
unsigned
char
*
pMemory
,
PFORMAT_STRING
pFormat
)
{
NDR_RANGE
*
pRange
=
(
NDR_RANGE
*
)
pFormat
;
const
NDR_RANGE
*
pRange
=
(
const
NDR_RANGE
*
)
pFormat
;
unsigned
char
base_type
;
TRACE
(
"pStubMsg %p, pMemory %p, type 0x%02x
\n
"
,
pStubMsg
,
pMemory
,
*
pFormat
);
...
...
@@ -6294,7 +6294,7 @@ unsigned char *WINAPI NdrRangeUnmarshall(
PFORMAT_STRING
pFormat
,
unsigned
char
fMustAlloc
)
{
NDR_RANGE
*
pRange
=
(
NDR_RANGE
*
)
pFormat
;
const
NDR_RANGE
*
pRange
=
(
const
NDR_RANGE
*
)
pFormat
;
unsigned
char
base_type
;
TRACE
(
"pStubMsg: %p, ppMemory: %p, type: 0x%02x, fMustAlloc: %s
\n
"
,
pStubMsg
,
ppMemory
,
*
pFormat
,
fMustAlloc
?
"true"
:
"false"
);
...
...
@@ -6391,7 +6391,7 @@ static void WINAPI NdrRangeBufferSize(
unsigned
char
*
pMemory
,
PFORMAT_STRING
pFormat
)
{
NDR_RANGE
*
pRange
=
(
NDR_RANGE
*
)
pFormat
;
const
NDR_RANGE
*
pRange
=
(
const
NDR_RANGE
*
)
pFormat
;
unsigned
char
base_type
;
TRACE
(
"pStubMsg %p, pMemory %p, type 0x%02x
\n
"
,
pStubMsg
,
pMemory
,
*
pFormat
);
...
...
@@ -6413,7 +6413,7 @@ static ULONG WINAPI NdrRangeMemorySize(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
)
{
NDR_RANGE
*
pRange
=
(
NDR_RANGE
*
)
pFormat
;
const
NDR_RANGE
*
pRange
=
(
const
NDR_RANGE
*
)
pFormat
;
unsigned
char
base_type
;
if
(
pRange
->
type
!=
RPC_FC_RANGE
)
...
...
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