From b2c9c74aed5d7c8071639265bfc285dd1a3f6dcf Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sun, 19 Dec 2004 17:26:23 +0000 Subject: removed some gcc warnings (hopefully) svn path=/trunk/; revision=12783 --- epan/dissectors/packet-dcerpc-pn-io.c | 2 +- epan/dissectors/packet-pn-rt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors') diff --git a/epan/dissectors/packet-dcerpc-pn-io.c b/epan/dissectors/packet-dcerpc-pn-io.c index 937e9e76c3..d975e982a1 100644 --- a/epan/dissectors/packet-dcerpc-pn-io.c +++ b/epan/dissectors/packet-dcerpc-pn-io.c @@ -1047,7 +1047,7 @@ dissect_IPNIO_Write_resp(tvbuff_t *tvb, int offset, /* dissect the IOxS (IOCS, IOPS) field */ static int dissect_PNIO_IOxS(tvbuff_t *tvb, int offset, - packet_info *pinfo, proto_tree *tree, guint8 *drep) + packet_info *pinfo _U_, proto_tree *tree, guint8 *drep _U_) { guint8 u8IOxS; proto_item *ioxs_item = NULL; diff --git a/epan/dissectors/packet-pn-rt.c b/epan/dissectors/packet-pn-rt.c index 5fdca97ccf..ff1c43d384 100644 --- a/epan/dissectors/packet-pn-rt.c +++ b/epan/dissectors/packet-pn-rt.c @@ -327,7 +327,7 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (check_col(pinfo->cinfo, COL_PROTOCOL)) col_add_str(pinfo->cinfo, COL_PROTOCOL, pszProtShort); - pinfo->private_data = GUINT_TO_POINTER(u16FrameID); + pinfo->private_data = GUINT_TO_POINTER( (guint32) u16FrameID); /* get frame user data tvb (without header and footer) */ next_tvb = tvb_new_subset(tvb, 2, data_len, data_len); -- cgit v1.2.3