Added casts wanted by win64 compiler.
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Jan 2010 15:24:33 +0000 (15:24 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Jan 2010 15:24:33 +0000 (15:24 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31440 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-rlc-lte.c

index cfb638205067326c41857973c94821155fc976b9..ca7c292d686e230ffe8f93d264a975d4c37f58d7 100644 (file)
@@ -801,7 +801,7 @@ static void dissect_rlc_lte_um(tvbuff_t *tvb, packet_info *pinfo,
         return;
     }
 
-    tap_info->sequenceNumber = sn;
+    tap_info->sequenceNumber = (guint16)sn;
 
     /* Show SN in info column */
     col_append_fstr(pinfo->cinfo, COL_INFO, "  SN=%04u", (guint16)sn);
@@ -900,7 +900,7 @@ static void dissect_rlc_lte_am_status_pdu(tvbuff_t *tvb,
     col_append_fstr(pinfo->cinfo, COL_INFO, "  ACK_SN=%u", (guint16)ack_sn);
     proto_item_append_text(top_ti, "  ACK_SN=%u", (guint16)ack_sn);
     proto_item_append_text(status_ti, "  ACK_SN=%u", (guint16)ack_sn);
-    tap_info->ACKNo = ack_sn;
+    tap_info->ACKNo = (guint16)ack_sn;
 
     /* E1 */
     proto_tree_add_bits_ret_val(tree, hf_rlc_lte_am_e1, tvb,
@@ -924,7 +924,7 @@ static void dissect_rlc_lte_am_status_pdu(tvbuff_t *tvb,
             bit_offset += 10;
             col_append_fstr(pinfo->cinfo, COL_INFO, "  NACK_SN=%u", (guint16)nack_sn);
             proto_item_append_text(top_ti, "  NACK_SN=%u", (guint16)nack_sn);
-            tap_info->NACKs[nack_count] = nack_sn;
+            tap_info->NACKs[nack_count] = (guint16)nack_sn;
 
             /* E1 */
             proto_tree_add_bits_ret_val(tree, hf_rlc_lte_am_e1, tvb,