diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-12-25 13:49:30 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-12-25 13:49:30 +0000 |
commit | 78ff68d4b58f3887139b2d1fd6fec5c8d2658aa7 (patch) | |
tree | 408c4b08d73977545997409aa5dfb93f0a35e74f /epan/dissectors/packet-rpc.c | |
parent | e8459f4ea1a08f7b661d8717db1a9b8125860142 (diff) |
a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r-- | epan/dissectors/packet-rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c index 1b8ed5950c..6ecda01d96 100644 --- a/epan/dissectors/packet-rpc.c +++ b/epan/dissectors/packet-rpc.c @@ -2589,7 +2589,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if(rpc_call && rpc_call->rep_num){ fhd=(nfs_fhandle_data_t *)g_hash_table_lookup( nfs_fhandle_frame_table, - (gconstpointer)rpc_call->rep_num); + GINT_TO_POINTER(rpc_call->rep_num)); if(fhd){ dissect_fhandle_hidden(pinfo, ptree, fhd); @@ -2600,7 +2600,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if(rpc_call && rpc_call->req_num){ fhd=(nfs_fhandle_data_t *)g_hash_table_lookup( nfs_fhandle_frame_table, - (gconstpointer)rpc_call->req_num); + GINT_TO_POINTER(rpc_call->req_num)); if(fhd){ dissect_fhandle_hidden(pinfo, ptree, fhd); |