aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-portmap.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-25 13:49:30 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-25 13:49:30 +0000
commitfcda9bb26c5ca07b1458a847e616d33dd82a56cf (patch)
tree408c4b08d73977545997409aa5dfb93f0a35e74f /epan/dissectors/packet-portmap.c
parentd946af6ef2673cae26bac36aa7e7ec2654523644 (diff)
a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12832 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-portmap.c')
-rw-r--r--epan/dissectors/packet-portmap.c2
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){