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
99ae980c
Commit
99ae980c
authored
Nov 06, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Sign-compare warnings fix.
parent
fa1e0313
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
cpsf.c
dlls/rpcrt4/cpsf.c
+2
-2
ndr_fullpointer.c
dlls/rpcrt4/ndr_fullpointer.c
+3
-3
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+5
-4
No files found.
dlls/rpcrt4/cpsf.c
View file @
99ae980c
...
...
@@ -147,7 +147,7 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv,
*
ppv
=
NULL
;
if
(
!
pPSFactoryBuffer
->
lpVtbl
)
{
const
ProxyFileInfo
**
pProxyFileList2
;
int
max_delegating_vtbl_size
=
0
;
DWORD
max_delegating_vtbl_size
=
0
;
pPSFactoryBuffer
->
lpVtbl
=
&
CStdPSFactory_Vtbl
;
pPSFactoryBuffer
->
RefCount
=
0
;
pPSFactoryBuffer
->
pProxyFileList
=
pProxyFileList
;
...
...
@@ -158,7 +158,7 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv,
* async interfaces */
void
*
const
*
pSrcRpcStubVtbl
=
(
void
*
const
*
)
&
CStdStubBuffer_Vtbl
;
void
**
pRpcStubVtbl
=
(
void
**
)
&
(
*
pProxyFileList2
)
->
pStubVtblList
[
i
]
->
Vtbl
;
int
j
;
unsigned
int
j
;
if
((
*
pProxyFileList2
)
->
pDelegatedIIDs
&&
(
*
pProxyFileList2
)
->
pDelegatedIIDs
[
i
])
{
pSrcRpcStubVtbl
=
(
void
*
const
*
)
&
CStdStubBuffer_Delegating_Vtbl
;
...
...
dlls/rpcrt4/ndr_fullpointer.c
View file @
99ae980c
...
...
@@ -111,7 +111,7 @@ int WINAPI NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES pXlatTables,
ULONG
*
pRefId
)
{
ULONG
Hash
=
0
;
int
i
;
unsigned
int
i
;
PFULL_PTR_TO_REFID_ELEMENT
XlatTableEntry
;
TRACE
(
"(%p, %p, %d, %p)
\n
"
,
pXlatTables
,
pPointer
,
QueryType
,
pRefId
);
...
...
@@ -186,7 +186,7 @@ void WINAPI NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
ULONG
RefId
,
void
*
pPointer
)
{
ULONG
Hash
=
0
;
int
i
;
unsigned
int
i
;
PFULL_PTR_TO_REFID_ELEMENT
XlatTableEntry
;
TRACE
(
"(%p, 0x%x, %p)
\n
"
,
pXlatTables
,
RefId
,
pPointer
);
...
...
@@ -211,7 +211,7 @@ void WINAPI NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
int
WINAPI
NdrFullPointerFree
(
PFULL_PTR_XLAT_TABLES
pXlatTables
,
void
*
Pointer
)
{
ULONG
Hash
=
0
;
int
i
;
unsigned
int
i
;
PFULL_PTR_TO_REFID_ELEMENT
XlatTableEntry
;
ULONG
RefId
=
0
;
...
...
dlls/rpcrt4/rpc_transport.c
View file @
99ae980c
...
...
@@ -1326,7 +1326,8 @@ static void rpcrt4_protseq_sock_free_wait_array(RpcServerProtseq *protseq, void
static
int
rpcrt4_protseq_sock_wait_for_new_connection
(
RpcServerProtseq
*
protseq
,
unsigned
int
count
,
void
*
wait_array
)
{
struct
pollfd
*
poll_info
=
wait_array
;
int
ret
,
i
;
int
ret
;
unsigned
int
i
;
RpcConnection
*
cconn
;
RpcConnection_tcp
*
conn
;
...
...
@@ -1451,7 +1452,7 @@ static const struct protseq_ops protseq_list[] =
const
struct
protseq_ops
*
rpcrt4_get_protseq_ops
(
const
char
*
protseq
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
ARRAYSIZE
(
protseq_list
);
i
++
)
if
(
!
strcmp
(
protseq_list
[
i
].
name
,
protseq
))
return
&
protseq_list
[
i
];
...
...
@@ -1460,7 +1461,7 @@ const struct protseq_ops *rpcrt4_get_protseq_ops(const char *protseq)
static
const
struct
connection_ops
*
rpcrt4_get_conn_protseq_ops
(
const
char
*
protseq
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
ARRAYSIZE
(
conn_protseq_list
);
i
++
)
if
(
!
strcmp
(
conn_protseq_list
[
i
].
name
,
protseq
))
return
&
conn_protseq_list
[
i
];
...
...
@@ -1614,7 +1615,7 @@ RPC_STATUS RpcTransport_ParseTopOfTower(const unsigned char *tower_data,
const
twr_empty_floor_t
*
floor4
;
const
struct
connection_ops
*
protseq_ops
=
NULL
;
RPC_STATUS
status
;
int
i
;
unsigned
int
i
;
if
(
tower_size
<
sizeof
(
*
protocol_floor
))
return
EPT_S_NOT_REGISTERED
;
...
...
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