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-portmap.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-portmap.c')
-rw-r--r-- | epan/dissectors/packet-portmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-portmap.c b/epan/dissectors/packet-portmap.c index 724f8a95b4..4834a5842b 100644 --- a/epan/dissectors/packet-portmap.c +++ b/epan/dissectors/packet-portmap.c @@ -118,7 +118,7 @@ dissect_getport_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, if(!pinfo->fd->flags.visited){ rpc_call_info_value *rpc_call=pinfo->private_data; /* only do this for UDP, TCP does not need anything like this */ - if(rpc_call && ((int)rpc_call->private_data==PT_UDP) ){ + if(rpc_call && (GPOINTER_TO_UINT(rpc_call->private_data)==PT_UDP) ){ guint32 port; port=tvb_get_ntohl(tvb, offset); if(port){ |