Andrew Talbot : rpcrt4: Cast-qual warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Sep 26 05:30:07 CDT 2006
Module: wine
Branch: master
Commit: 8221beb2254dcce7f102a86a7eed0b56af0428e2
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8221beb2254dcce7f102a86a7eed0b56af0428e2
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Mon Sep 25 21:26:52 2006 +0100
rpcrt4: Cast-qual warnings fix.
---
dlls/rpcrt4/rpc_transport.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 4249d2a..27b0d84 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -899,8 +899,8 @@ RPC_STATUS RpcTransport_ParseTopOfTower(
char **networkaddr,
char **endpoint)
{
- twr_empty_floor_t *protocol_floor;
- twr_empty_floor_t *floor4;
+ const twr_empty_floor_t *protocol_floor;
+ const twr_empty_floor_t *floor4;
const struct protseq_ops *protseq_ops = NULL;
RPC_STATUS status;
int i;
@@ -908,7 +908,7 @@ RPC_STATUS RpcTransport_ParseTopOfTower(
if (tower_size < sizeof(*protocol_floor))
return EPT_S_NOT_REGISTERED;
- protocol_floor = (twr_empty_floor_t *)tower_data;
+ protocol_floor = (const twr_empty_floor_t *)tower_data;
tower_data += sizeof(*protocol_floor);
tower_size -= sizeof(*protocol_floor);
if ((protocol_floor->count_lhs != sizeof(protocol_floor->protid)) ||
@@ -917,7 +917,7 @@ RPC_STATUS RpcTransport_ParseTopOfTower(
tower_data += protocol_floor->count_rhs;
tower_size -= protocol_floor->count_rhs;
- floor4 = (twr_empty_floor_t *)tower_data;
+ floor4 = (const twr_empty_floor_t *)tower_data;
if ((tower_size < sizeof(*floor4)) ||
(floor4->count_lhs != sizeof(floor4->protid)))
return EPT_S_NOT_REGISTERED;
More information about the wine-cvs
mailing list