removed some gcc warnings (hopefully)
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 19 Dec 2004 17:26:23 +0000 (17:26 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 19 Dec 2004 17:26:23 +0000 (17:26 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12783 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-dcerpc-pn-io.c
epan/dissectors/packet-pn-rt.c

index 937e9e76c3449b2b9ff5205d66aba57280b0f39e..d975e982a1068da8445aabc076519d71025953a2 100644 (file)
@@ -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;
index 5fdca97ccf95a2af82e45bf5f795261b9d3a96c0..ff1c43d384bdd35506a1eee15ef1bdaf3fbaabec 100644 (file)
@@ -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);